Skip to content

Benchmarks for dotnet/runtime#129809 (for @MihaZupan) #272

Open

Description

@EgorBot

Processing benchmark request from PR dotnet/runtime#129809.

Targets: macos15_helix_arm64
Commits: main;PR_129809

Results will be posted here once they are ready.

Activity

  1. MihaZupan commented on Jun 24, 2026

    @MihaZupan

    @EgorBot

    using System.Buffers;
    using BenchmarkDotNet.Attributes;
    using BenchmarkDotNet.Running;
    
    BenchmarkSwitcher.FromAssembly(typeof(Bench).Assembly).Run(args);
    
    public class Bench
    {
        [Benchmark]
        public SearchValues<byte> Create_Base64Bytes() => SearchValues.Create("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"u8);
        [Benchmark]
        public SearchValues<char> Create_Base64Chars() => SearchValues.Create("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
    }
  2. EgorBot commented on Jun 24, 2026

    @EgorBot
    OwnerAuthor

    Benchmark job submitted. The results will be posted here once they are ready.

  3. EgorBot commented on Jun 24, 2026

    @EgorBot
    OwnerAuthor

    Results for macos15_helix_arm64

    @MihaZupan

    BenchmarkDotNet v0.15.8, macOS Sequoia 15.7.5 (24G624) [Darwin 24.6.0]
    Apple M4, 1 CPU, 10 logical and 10 physical cores
    .NET SDK 11.0.100-preview.6.26324.102
      [Host]     : .NET 10.0.9 (10.0.9, 10.0.926.27113), Arm64 RyuJIT armv8.0-a
    
    Method Toolchain Mean Error Ratio
    Create_Base64Alphabet PR #129809 92.35 ns 0.098 ns 1.00
    Create_Base64Alphabet main 129.10 ns 0.527 ns 1.40

    Full logs

  4. EgorBot commented on Jun 24, 2026

    @EgorBot
    OwnerAuthor

    Results for macos15_helix_arm64

    @MihaZupan

    BenchmarkDotNet v0.15.8, macOS Sequoia 15.4.1 (24E263) [Darwin 24.4.0]
    Apple M2, 1 CPU, 8 logical and 8 physical cores
    .NET SDK 11.0.100-preview.6.26324.102
      [Host]     : .NET 10.0.9 (10.0.9, 10.0.926.27113), Arm64 RyuJIT armv8.0-a
    
    Method Toolchain Mean Error Ratio
    Create_Base64Bytes PR #129809 109.5 ns 0.13 ns 1.00
    Create_Base64Bytes main 150.5 ns 0.11 ns 1.37
    Create_Base64Chars PR #129809 111.7 ns 0.18 ns 1.00
    Create_Base64Chars main 158.0 ns 0.20 ns 1.42

    Full logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions