-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Processing dotnet/runtime#113575 (comment) command:
Command
-arm -amd -windows_intel
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
public class Benchmark
{
static int[] _array = new int[5000];
[Benchmark]
[Arguments(4000)]
public int Sum(int len)
{
Span<int> span = _array;
int sum = 0;
for (int i = 0; i < len; i++)
sum += span[i];
return sum;
}
}(EgorBot will reply in this issue)
Metadata
Metadata
Assignees
Labels
No labels