EgorBot / runtime-utils

MIT License
0 stars 1 forks source link

EgorBot for EgorBo in #110258 #182

Open EgorBot opened 1 day ago

EgorBot commented 1 day ago

Processing https://github.com/dotnet/runtime/pull/110258#issuecomment-2508891227 command:

Command -intel -arm --envvars DOTNET_TC_CallCounting:0 ```cs using BenchmarkDotNet.Attributes; public class Bench { int a = 0; int b = 0; int c = 0; int d = 0; int e = 0; [Benchmark] public int Test() { int zeros = 0; if (a == 0) zeros++; if (b == 0) zeros++; if (c == 0) zeros++; if (d == 0) zeros++; if (e == 0) zeros++; return zeros; } } ```

(EgorBot will reply in this issue)

EgorBot commented 1 day ago

Benchmark results on linux_azure_cobalt100

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
azure_cobalt100
  Job-FYBCGQ : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
  Job-TUVDLS : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
EnvironmentVariables=DOTNET_TC_CallCounting=0
Method Toolchain Mean Error Ratio
Test Main 3.170 ns 0.0008 ns 1.00
Test PR 3.063 ns 0.0013 ns 0.97

BDN_Artifacts.zip

cc @EgorBo (agent_logs.txt). EgorBot manual: link.

EgorBot commented 1 day ago

Benchmark results on linux_azure_cascadelake

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 16 logical and 8 physical cores
  Job-TGSWTW : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-PWEUKM : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
EnvironmentVariables=DOTNET_TC_CallCounting=0
Method Toolchain Mean Error Ratio
Test Main 2.931 ns 0.0963 ns 1.00
Test PR 2.961 ns 0.0911 ns 1.01

BDN_Artifacts.zip

cc @EgorBo (agent_logs.txt). EgorBot manual: link.