1 write to Pipe
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
RequestParsingBenchmark.cs (1)
49
Pipe
= new Pipe(new PipeOptions(_memoryPool));
8 references to Pipe
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (8)
RequestParsingBenchmark.cs (8)
134
Pipe
.Writer.Write(bytes);
136
Pipe
.Writer.FlushAsync().GetAwaiter().GetResult();
141
var awaitable =
Pipe
.Reader.ReadAsync();
166
Pipe
.Reader.AdvanceTo(readableBuffer.End);
173
var awaitable =
Pipe
.Reader.ReadAsync();
190
Pipe
.Reader.AdvanceTo(reader.Position, reader.Position);
192
result =
Pipe
.Reader.ReadAsync().GetAwaiter().GetResult();
200
Pipe
.Reader.AdvanceTo(reader.Position, reader.Position);