Open EgorBot opened 4 weeks ago
Intel
BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
Intel Xeon Platinum 8488C, 1 CPU, 8 logical and 4 physical cores
Job-ZQQLSI : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-QURJGU : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
RatioSD=0.02
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
DummyDynamicMethod | Main | 6.988 μs | 0.0840 μs | 1.00 |
DummyDynamicMethod | PR | 6.908 μs | 0.1177 μs | 0.99 |
Processing https://github.com/dotnet/runtime/pull/99200#issuecomment-2436042877 command:
Command
-intel ```C# using System; using System.Diagnostics; using System.Reflection.Emit; using BenchmarkDotNet.Attributes; public class Bench { [Benchmark] public void DummyDynamicMethod() { DynamicMethod dm = new DynamicMethod("Dummy", typeof(void), null); ILGenerator il = dm.GetILGenerator(); il.Emit(OpCodes.Ret); Action a = dm.CreateDelegate(EgorBot will reply in this issue)