Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

EgorBot for EgorBo in #110923 #217

Open

Description

@EgorBot

Processing dotnet/runtime#110923 (comment) command:

Command

-amd -arm -profiler

using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;

public class Benchmark
{
    static Guid guid = Guid.Parse("{D420C46B-04DC-4ABD-BF32-5132E82EE7F7}");

    [Benchmark]
    public bool FormatX()
    {
        Span<char> buffer = stackalloc char[100];
        bool result = guid.TryFormat(buffer, out int charsWritten, "X");
        Consume(buffer.Slice(0, charsWritten));
        return result;
    }

    [MethodImpl(MethodImplOptions.NoInlining)]
    static void Consume(Span<char> _){}
}

(EgorBot will reply in this issue)

Activity

  1. EgorBot commented on Dec 24, 2024

    @EgorBot
    OwnerAuthor

    Benchmark results on linux_azure_genoa

    BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
    AMD EPYC 9V74, 1 CPU, 16 logical and 8 physical cores
      Job-DXGWXR : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
      Job-RNAUBL : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
    
    Method Toolchain Mean Error Ratio
    FormatX Main 24.82 ns 0.049 ns 1.00
    FormatX PR 22.45 ns 0.010 ns 0.90

    BDN_Artifacts.zip

    Profiling for Benchmark_FormatX:

    SVG flamegraph: Main vs PR 🔥
    Speedscope flamegraph: Main vs PR
    Hot asm code: Main vs PR
    HW counters: Main vs PR


    cc @EgorBo (agent_logs.txt). EgorBot manual: link.

  2. EgorBot commented on Dec 24, 2024

    @EgorBot
    OwnerAuthor

    Benchmark results on linux_azure_cobalt100

    BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
    azure_cobalt100
      Job-DZRVKU : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
      Job-BDFEMC : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
    
    Method Toolchain Mean Error Ratio
    FormatX Main 27.83 ns 0.007 ns 1.00
    FormatX PR 24.38 ns 0.009 ns 0.88

    BDN_Artifacts.zip

    Profiling for Benchmark_FormatX:

    SVG flamegraph: Main vs PR 🔥
    Speedscope flamegraph: Main vs PR
    Hot asm code: Main vs PR
    HW counters: Main vs PR


    cc @EgorBo (agent_logs.txt). EgorBot manual: link.

  3. Repository owner deleted a comment from EgorBo on Dec 24, 2024
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions