React to corefxlab changes (#1602)
This commit is contained in:
parent
f5d7caa9fa
commit
fd5f3a771c
|
|
@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance
|
||||||
[Benchmark(Baseline = true)]
|
[Benchmark(Baseline = true)]
|
||||||
public unsafe int NoDotSegments()
|
public unsafe int NoDotSegments()
|
||||||
{
|
{
|
||||||
_noDotSegmentsAscii.CopyTo(_noDotSegmentsBytes);
|
_noDotSegmentsAscii.CopyTo(_noDotSegmentsBytes, 0);
|
||||||
|
|
||||||
fixed (byte* start = _noDotSegmentsBytes)
|
fixed (byte* start = _noDotSegmentsBytes)
|
||||||
{
|
{
|
||||||
|
|
@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance
|
||||||
[Benchmark]
|
[Benchmark]
|
||||||
public unsafe int SingleDotSegments()
|
public unsafe int SingleDotSegments()
|
||||||
{
|
{
|
||||||
_singleDotSegmentsAscii.CopyTo(_singleDotSegmentsBytes);
|
_singleDotSegmentsAscii.CopyTo(_singleDotSegmentsBytes, 0);
|
||||||
|
|
||||||
fixed (byte* start = _singleDotSegmentsBytes)
|
fixed (byte* start = _singleDotSegmentsBytes)
|
||||||
{
|
{
|
||||||
|
|
@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance
|
||||||
[Benchmark]
|
[Benchmark]
|
||||||
public unsafe int DoubleDotSegments()
|
public unsafe int DoubleDotSegments()
|
||||||
{
|
{
|
||||||
_doubleDotSegmentsAscii.CopyTo(_doubleDotSegmentsBytes);
|
_doubleDotSegmentsAscii.CopyTo(_doubleDotSegmentsBytes, 0);
|
||||||
|
|
||||||
fixed (byte* start = _doubleDotSegmentsBytes)
|
fixed (byte* start = _doubleDotSegmentsBytes)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue