-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Processing dotnet/runtime#109209 (comment) command:
Command
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using System.Runtime.CompilerServices;
BenchmarkSwitcher.FromAssembly(typeof(Bench).Assembly).Run(args);
public class Bench
{
static byte[] Data = new byte[512];
[Benchmark]
public int Test() => TestInner(Data);
[MethodImpl(MethodImplOptions.NoInlining)]
int TestInner(ICollection<byte> c) => c.Count;
}
(EgorBot will reply in this issue)
Metadata
Metadata
Assignees
Labels
No labels