Skip to content

Commit 2e4e57c

Browse files
committed
More sensical benchmarks
1 parent 0f7634d commit 2e4e57c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

benchmark/Benchmark.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ public void TestErrorGetIndexOfFirstNonAsciiByteBenchmark()
117117
fixed (byte* pAscii = ascii)
118118
{
119119
nuint result = Ascii.GetIndexOfFirstNonAsciiByte(pAscii, (nuint)ascii.Length);
120-
if (result != (nuint)i)
121-
{
122-
throw new Exception($"Expected non-ASCII character at index {i}, but found at index {result}");
123-
}
124120
}
125121
}
126122

0 commit comments

Comments
 (0)