1 write to _pipe
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
PipeThroughputBenchmark.cs (1)
23
_pipe
= new Pipe(new PipeOptions(_memoryPool));
10 references to _pipe
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (10)
PipeThroughputBenchmark.cs (10)
33
_pipe
.Writer.GetMemory(_writeLength);
34
_pipe
.Writer.Advance(_writeLength);
35
await
_pipe
.Writer.FlushAsync();
44
var result = await
_pipe
.Reader.ReadAsync();
46
_pipe
.Reader.AdvanceTo(result.Buffer.End, result.Buffer.End);
58
_pipe
.Writer.GetMemory(_writeLength);
59
_pipe
.Writer.Advance(_writeLength);
60
_pipe
.Writer.FlushAsync().GetAwaiter().GetResult();
61
var result =
_pipe
.Reader.ReadAsync().GetAwaiter().GetResult();
62
_pipe
.Reader.AdvanceTo(result.Buffer.End, result.Buffer.End);