Open EgorBot opened 1 month ago
Intel
BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
Intel Xeon Platinum 8488C, 1 CPU, 16 logical and 8 physical cores
Job-CUYAWI : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-TJASAX : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
DummyDynamicMethod | Main | 7.582 μs | 0.0831 μs | 1.00 |
DummyDynamicMethod | PR | 8.090 μs | 0.1609 μs | 1.07 |
Processing https://github.com/dotnet/runtime/pull/99200#issuecomment-2433774636 command:
Command
-intel ```csharp 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)