Open
Description
Processing dotnet/runtime#111034 (comment) command:
Command
-amd -arm
using System;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
public class Bench
{
[MethodImpl(MethodImplOptions.NoInlining)]
static object Alloc<T>(int a, int b, int c)
{
return new T[a, b, c];
}
[Benchmark]
public object MDInt() => Alloc<int>(1,2,3);
[Benchmark]
public object MDObject() => Alloc<object>(1,2,3);
[Benchmark]
public object MDGuid() => Alloc<Guid>(1,2,3);
}
(EgorBot will reply in this issue)
Metadata
Metadata
Assignees
Labels
No labels