Open EgorBot opened 1 month ago
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-NZUZYL : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-BUNWLF : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
WriteBools | Main | 338.4 ns | 0.31 ns | 1.00 |
WriteBools | PR | 264.3 ns | 0.18 ns | 0.78 |
Benchmarks_WriteBools
:Flame graphs: Main vs PR 🔥 Speedscope: Main vs PR Hot asm: Main vs PR Hot functions: Main vs PR Counters: Main vs PR
AzureAmpere
BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AzureAmpere
Job-RKACIT : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Job-QLQBEK : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
WriteBools | Main | 603.7 ns | 0.06 ns | 1.00 |
WriteBools | PR | 477.2 ns | 0.15 ns | 0.79 |
Benchmarks_WriteBools
:Flame graphs: Main vs PR 🔥 Speedscope: Main vs PR Hot asm: Main vs PR Hot functions: Main vs PR Counters: Main vs PR
Processing https://github.com/dotnet/runtime/pull/108575#issuecomment-2395130422 command:
Command
-intel -arm64 -profiler ```cs using System.Runtime.CompilerServices; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); public class Benchmarks { static bool[] _values = Enumerable.Range(0, 256).Select(i => i % 2 == 0).ToArray(); static char[] _output = new char[4096]; [Benchmark] public void WriteBools() { Span(EgorBot will reply in this issue)