Open EgorBot opened 2 months ago
Amd
BenchmarkDotNet v0.14.0, Ubuntu 22.04.4 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 16 logical and 8 physical cores
Job-VBWVBX : .NET 9.0.0 (42.42.42.42424), X64 RyuJIT AVX2
Job-ZNFVBP : .NET 9.0.0 (42.42.42.42424), X64 RyuJIT AVX2
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
TrailingZeroCount_ulong | Before | 546.9 ns | 0.14 ns | 1.00 |
TrailingZeroCount_ulong | After | 624.5 ns | 0.04 ns | 1.14 |
Flame graphs: Main vs PR 🔥 Hot asm: Main vs PR Hot functions: Main vs PR Counters: Main vs PR
For clean perf
results, make sure you have just one [Benchmark]
in your app.
Processing https://github.com/dotnet/runtime/issues/107304#issuecomment-2330211290 command:
Command
-amd -commit 39968e7 vs previous -profiler ```cs using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using System.Numerics; using System.Runtime.CompilerServices; public class Perf_BitOperations { static T[] Array(EgorBot will reply in this issue)