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-RBGXXL : .NET 10.0.0 (42.42.42.42424) using MonoVM, X64 X86Base
Job-RPDCUO : .NET 10.0.0 (42.42.42.42424) using MonoVM, X64 X86Base
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
WriteBools | Main | 5.649 μs | 0.0300 μs | 1.00 |
WriteBools | PR | 3.385 μs | 0.0097 μs | 0.60 |
AzureAmpere
BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AzureAmpere
Job-CQAWEV : .NET 10.0.0 (42.42.42.42424) using MonoVM, Arm64 ArmBase
Job-RBXQYA : .NET 10.0.0 (42.42.42.42424) using MonoVM, Arm64 ArmBase
Method | Toolchain | Mean | Error | Ratio |
---|---|---|---|---|
WriteBools | Main | 5.884 μs | 0.0067 μs | 1.00 |
WriteBools | PR | 3.965 μs | 0.0019 μs | 0.67 |
Processing https://github.com/dotnet/runtime/pull/108575#issuecomment-2395181936 command:
Command
-mono -intel -arm64 ```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)