Skip to content

EgorBot for AndyAyersMS in #109209 #134

@EgorBot

Description

@EgorBot

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions