Open EgorBot opened 1 day ago
linux_milano
BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 8 logical and 4 physical cores
Job-VWNSQG : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX2
Job=Job-VWNSQG Toolchain=CoreRun
Method | Mean | Error |
---|---|---|
WB_Gen0 | 3.402 ms | 0.0035 ms |
WB_Gen2 | 2.783 ms | 0.0020 ms |
Bench_WB_Gen0
:Flame graphs: Main 🔥 Speedscope: Main Hot asm: Main Hot functions: Main Counters: Main
Bench_WB_Gen2
:Flame graphs: Main 🔥 Speedscope: Main Hot asm: Main Hot functions: Main Counters: Main
cc @EgorBo (agent_logs.txt)
linux_cobalt100
BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
cobalt100
Job-OFYVSP : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Job=Job-OFYVSP Toolchain=CoreRun
Method | Mean | Error |
---|---|---|
WB_Gen0 | 3.673 ms | 0.0005 ms |
WB_Gen2 | 3.674 ms | 0.0026 ms |
Bench_WB_Gen0
:Flame graphs: Main 🔥 Speedscope: Main Hot asm: Main Hot functions: Main Counters: Main
Bench_WB_Gen2
:Flame graphs: Main 🔥 Speedscope: Main Hot asm: Main Hot functions: Main Counters: Main
cc @EgorBo (agent_logs.txt)
Processing https://github.com/dotnet/runtime/issues/106051#issuecomment-2490589702 command:
Command
-linux_azure_cobalt100 -linux_azure_milano -profiler -commit main ```cs using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); public class Bench { static object Src = new (); static object Dst; static Bench() => GC.Collect(); [Benchmark] public void WB_Gen0() { var src = new object(); for (int i = 0; i < 1_000_000; i++) Dst = src; } [Benchmark] public void WB_Gen2() { var obj = Src; for (int i = 0; i < 1_000_000; i++) Dst = obj; } } ```(EgorBot will reply in this issue)