EgorBot / runtime-utils

MIT License
0 stars 1 forks source link

EgorBot for EgorBo in #108153 #94

Open EgorBot opened 2 months ago

EgorBot commented 2 months ago

Processing https://github.com/dotnet/runtime/pull/108153#issuecomment-2369190715 command:

Command ```cs using BenchmarkDotNet.Attributes; public class Bench { IList list = new int[10]; [Benchmark] public void Test() { foreach (var _ in list) {} } } ```

(EgorBot will reply in this issue)

EgorBot commented 2 months ago

Benchmark results on AzureIntel

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 16 logical and 8 physical cores
  Job-JRHXIP : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-VZTETL : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Toolchain Mean Error Ratio
Test Main 31.11 ns 0.082 ns 1.00
Test PR 27.06 ns 0.060 ns 0.87

BDN_Artifacts.zip

EgorBot commented 2 months ago

cc @EgorBo (logs)