Skip to content

Benchmarks for dotnet/runtime#126678 (for @EgorBo) #107

Open

Description

@EgorBot

Processing benchmark request from PR dotnet/runtime#126678.

Targets: ubuntu24_aws_graviton4
Commits: main;PR_126678

Results will be posted here once they are ready.

Activity

  1. EgorBot commented on Apr 9, 2026

    @EgorBot
    OwnerAuthor

    Results for ubuntu24_aws_graviton4

    @EgorBo

    BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04 LTS (Noble Numbat)
    Neoverse-V2, 8 physical cores
    .NET SDK 11.0.100-preview.4.26208.106
      [Host]     : .NET 10.0.5 (10.0.5, 10.0.526.15411), Arm64 RyuJIT armv8.0-a
    
    Method Toolchain Mean Error Ratio
    Medium PR #126678 4.125 ns 0.0091 ns 1.00
    Medium main 5.895 ns 0.1666 ns 1.43
    Profiling artifacts

    Benchmarks.Medium:

    main PR_126678
    flamegraph link link
    functions link link
    asm link link
    stats link link
    speedscope link link
  2. tannergooding commented on Apr 9, 2026

    @tannergooding

    @EgorBot -aws_arm -profiler

    using System.Buffers;
    using BenchmarkDotNet.Attributes;
    
    public class Benchmarks
    {
        private static readonly SearchValues<byte> s_controlQuoteBackslash = SearchValues.Create(
            "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000A\u000B"u8 +
            "\u000C\u000D\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018"u8 +
            "\u0019\u001A\u001B\u001C\u001D\u001E\u001F"u8 + "\""u8 + "\\"u8);
    
        private byte[] _str = "Product description with some text that is a bit longer than usual\""u8.ToArray();
    
        [Benchmark]
        public int Medium() => _str.AsSpan().IndexOfAny(s_controlQuoteBackslash);
    }
  3. EgorBot commented on Apr 9, 2026

    @EgorBot
    OwnerAuthor

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

  4. EgorBot commented on Apr 9, 2026

    @EgorBot
    OwnerAuthor

    Results for ubuntu24_aws_graviton4

    @tannergooding

    BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04 LTS (Noble Numbat)
    Neoverse-V2, 8 physical cores
    .NET SDK 11.0.100-preview.4.26208.110
      [Host]     : .NET 10.0.5 (10.0.5, 10.0.526.15411), Arm64 RyuJIT armv8.0-a
    
    Method Toolchain Mean Error Ratio
    Medium PR #126678 4.611 ns 0.0466 ns 1.00
    Medium main 5.606 ns 0.1462 ns 1.22
    Profiling artifacts

    Benchmarks.Medium:

    main PR_126678
    flamegraph link link
    functions link link
    asm link link
    stats link link
    speedscope link link

    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