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.

Benchmarks for #116109 (jkotas) #549

Open

Description

@EgorBot

Processing dotnet/runtime#116109 (comment) command:

Command

-intel -arm -commit 1c955dd vs previous

using BenchmarkDotNet.Attributes;

public class Bench
{
    int[] a = new int[10000];
    int[] b = new int[10000];
    MyComparer<string> c = new MyComparer<string>();

    [IterationSetup]
    public void IterationSetup() { for (int i = 0; i < a.Length; i++) a[i] = i; }

    [Benchmark]
    public void Sort() => MemoryExtensions.Sort(a, b, c);

    struct MyComparer<T> : IComparer<int>
    {
        T state;
        long a,b,c,d,e,f;

        public int Compare(int x, int y) => x-y;
    }   
}

(EgorBot will reply in this issue)

Activity

  1. EgorBot commented on Nov 20, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCobalt100: Job failed, see logs.

    cc @jkotas (logs). EgorBot manual: link.

  2. EgorBot commented on Nov 20, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCascadeLake: Job failed, see logs.

    cc @jkotas (logs). EgorBot manual: link.

  3. EgorBo commented on Nov 20, 2025

    @EgorBo

    @jkotas I think I've broken the bot with my recent update, I'll check and re-run it

  4. jkotas commented on Nov 20, 2025

    @jkotas
  5. xtqqczze commented on Nov 28, 2025

    @xtqqczze
  6. EgorBot commented on Nov 28, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCobalt100: Job failed, see logs.

    cc @xtqqczze (logs). EgorBot manual: link.

  7. EgorBot commented on Nov 28, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCascadeLake: Job failed, see logs.

    cc @xtqqczze (logs). EgorBot manual: link.

  8. EgorBo commented on Nov 28, 2025

    @EgorBo

    @EgorBot -intel -arm -commit 1c955dd vs previous

    using BenchmarkDotNet.Attributes;
    
    public class Bench
    {
        int[] a = new int[10000];
        int[] b = new int[10000];
        MyComparer<string> c = new MyComparer<string>();
    
        [IterationSetup]
        public void IterationSetup() { for (int i = 0; i < a.Length; i++) a[i] = i; }
    
        [Benchmark]
        public void Sort() => MemoryExtensions.Sort(a, b, c);
    
        struct MyComparer<T> : IComparer<int>
        {
            T state;
            long a,b,c,d,e,f;
    
            public int Compare(int x, int y) => x-y;
        }   
    }
  9. EgorBot commented on Nov 28, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCascadeLake: Job failed, see logs.

    cc @EgorBo (logs). EgorBot manual: link.

  10. EgorBot commented on Nov 28, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCobalt100: Job failed, see logs.

    cc @EgorBo (logs). EgorBot manual: link.

  11. EgorBo commented on Nov 28, 2025

    @EgorBo

    @EgorBot -intel -arm -commit 1c955dd vs previous

    using BenchmarkDotNet.Attributes;
    
    public class Bench
    {
        int[] a = new int[10000];
        int[] b = new int[10000];
        MyComparer<string> c = new MyComparer<string>();
    
        [IterationSetup]
        public void IterationSetup() { for (int i = 0; i < a.Length; i++) a[i] = i; }
    
        [Benchmark]
        public void Sort() => MemoryExtensions.Sort(a, b, c);
    
        struct MyComparer<T> : IComparer<int>
        {
            T state;
            long a,b,c,d,e,f;
    
            public int Compare(int x, int y) => x-y;
        }   
    }
  12. EgorBot commented on Nov 28, 2025

    @EgorBot
    OwnerAuthor

    Benchmark results on linux_azure_cobalt100

    BenchmarkDotNet v0.15.0, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
    Neoverse-N2, 16 physical cores
      Job-CGJRVR : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
      Job-ODAYOK : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
    InvocationCount=1  UnrollFactor=1
    
    Method Toolchain Mean Error Ratio
    Sort Main 1,127.4 μs 15.02 μs 1.00
    Sort PR 321.8 μs 6.25 μs 0.29

    Artifacts.zip

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

  13. EgorBot commented on Nov 28, 2025

    @EgorBot
    OwnerAuthor

    Benchmark results on linux_azure_cascadelake

    BenchmarkDotNet v0.15.0, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
    Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 16 logical and 8 physical cores
      Job-QXYITK : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
      Job-LDONZG : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
    InvocationCount=1  UnrollFactor=1
    
    Method Toolchain Mean Error Ratio
    Sort Main 1,247.7 μs 13.09 μs 1.00
    Sort PR 526.3 μs 9.76 μs 0.42

    Artifacts.zip

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

  14. EgorBo commented on Nov 28, 2025

    @EgorBo

    @jkotas sorry for the delay - fixed the bot. Main stands for the commit and PR is for the "previous" (I'll fix the displaying in the bot shortly), which means 1c955dd commit regressed the benchmark.

  15. 2A5F commented on Nov 29, 2025

    @2A5F

    @EgorBot -intel -arm -commit 2A5F/dotnet-runtime@00a02ef vs dotnet/runtime@d0bdc78

    using BenchmarkDotNet.Attributes;
    
    public class Bench
    {
        int[] a = new int[10000];
        int[] b = new int[10000];
        MyComparer<string> c = new MyComparer<string>();
    
        [IterationSetup]
        public void IterationSetup() { for (int i = 0; i < a.Length; i++) a[i] = i; }
    
        [Benchmark]
        public void Sort() => MemoryExtensions.Sort(a, b, c);
    
        struct MyComparer<T> : IComparer<int>
        {
            T state;
            long a,b,c,d,e,f;
    
            public int Compare(int x, int y) => x-y;
        }   
    }
  16. EgorBot commented on Nov 29, 2025

    @EgorBot
    OwnerAuthor

    ❌ Benchmark validation failed

    cc @2A5F (logs). EgorBot manual: link.

  17. EgorBot commented on Nov 29, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCascadeLake: Job failed, see logs.

    cc @2A5F (logs). EgorBot manual: link.

  18. EgorBot commented on Nov 29, 2025

    @EgorBot
    OwnerAuthor

    ❌ Failed on AzureCobalt100: Job failed, see logs.

    cc @2A5F (logs). EgorBot manual: link.

  19. EgorBo commented on Nov 29, 2025

    @EgorBo

    @2A5F it doesn't support commits outside of dotnet/runtime, but I probably can add it (maybe even today)

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