Skip to content

Tests #317

Open
Open
Tests#317
@EgorBo

Description

@EgorBo
No description provided.

Activity

EgorBo

EgorBo commented on Mar 19, 2025

@EgorBo
Author

@EgorBot -amd -arm -aws_amd -profiler -pr 112019

using BenchmarkDotNet.Attributes;

public class Bench
{
    byte[] _arr1 = new byte[200];
    byte[] _arr2 = new byte[200];

    [Benchmark]
    [Arguments(128)]
    public void Copy(int elems)
    {
        Span<byte> span1 = _arr1;
        Span<byte> span2 = _arr2;

        for (int i = 0; i < elems; i++)
            span1[i] = span2[i];
    }
}
EgorBot

EgorBot commented on Mar 19, 2025

@EgorBot
Owner

Benchmark results on linux_aws_genoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
AMD EPYC 9R14, 1 CPU, 16 logical and 16 physical cores
  Job-JNUFYT : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-MTZYSN : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
RatioSD=0.02
Method Toolchain elems Mean Error Ratio
Copy Main 128 55.03 ns 0.816 ns 1.00
Copy PR 128 53.93 ns 0.464 ns 0.98

BDN_Artifacts.zip

Profiling for Bench_Copy:

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.

EgorBot

EgorBot commented on Mar 19, 2025

@EgorBot
Owner

Benchmark results on linux_azure_genoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04.2 LTS (Noble Numbat)
AMD EPYC 9V74, 1 CPU, 16 logical and 8 physical cores
  Job-XMUBZN : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-JMNEJT : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Toolchain elems Mean Error Ratio
Copy Main 128 52.88 ns 0.036 ns 1.00
Copy PR 128 52.85 ns 0.018 ns 1.00

BDN_Artifacts.zip

Profiling for Bench_Copy:

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.

EgorBot

EgorBot commented on Mar 19, 2025

@EgorBot
Owner

Benchmark results on linux_azure_cobalt100

BenchmarkDotNet v0.14.0, Ubuntu 24.04.2 LTS (Noble Numbat)
azure_cobalt100
  Job-GAKYCZ : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
  Job-SYHLWE : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Method Toolchain elems Mean Error Ratio
Copy Main 128 61.50 ns 0.073 ns 1.00
Copy PR 128 61.48 ns 0.067 ns 1.00

BDN_Artifacts.zip

Profiling for Bench_Copy:

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.

EgorBo

EgorBo commented on Mar 19, 2025

@EgorBo
Author

@EgorBot -amd -arm -aws_amd -profiler -pr 113575

using BenchmarkDotNet.Attributes;

public class Bench
{
    byte[] _arr1 = new byte[200];
    byte[] _arr2 = new byte[200];

    [Benchmark]
    [Arguments(128)]
    public void Copy(int elems)
    {
        Span<byte> span1 = _arr1;
        Span<byte> span2 = _arr2;

        for (int i = 0; i < elems; i++)
            span1[i] = span2[i];
    }
}
EgorBot

EgorBot commented on Mar 19, 2025

@EgorBot
Owner

Benchmark results on linux_aws_genoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
AMD EPYC 9R14, 1 CPU, 16 logical and 16 physical cores
  Job-PKTRPE : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-AIVLWN : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Toolchain elems Mean Error Ratio
Copy Main 128 52.57 ns 0.039 ns 1.00
Copy PR 128 36.12 ns 0.026 ns 0.69

BDN_Artifacts.zip

Profiling for Bench_Copy:

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.

EgorBot

EgorBot commented on Mar 19, 2025

@EgorBot
Owner

Benchmark results on linux_azure_genoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04.2 LTS (Noble Numbat)
AMD EPYC 9V74, 1 CPU, 16 logical and 8 physical cores
  Job-GWDPRX : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-TGSKBE : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Toolchain elems Mean Error Ratio
Copy Main 128 52.86 ns 0.013 ns 1.00
Copy PR 128 36.32 ns 0.004 ns 0.69

BDN_Artifacts.zip

Profiling for Bench_Copy:

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.

EgorBot

EgorBot commented on Mar 19, 2025

@EgorBot
Owner

Benchmark results on linux_azure_cobalt100

BenchmarkDotNet v0.14.0, Ubuntu 24.04.2 LTS (Noble Numbat)
azure_cobalt100
  Job-PQGOTZ : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
  Job-AKFKZS : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Method Toolchain elems Mean Error Ratio
Copy Main 128 61.43 ns 0.062 ns 1.00
Copy PR 128 45.25 ns 0.028 ns 0.74

BDN_Artifacts.zip

Profiling for Bench_Copy:

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.

EgorBo

EgorBo commented on Mar 23, 2025

@EgorBo
Author

@EgorBot -intel -pr 113715

using System;
using System.Threading;

using BenchmarkDotNet.Attributes;

public class Bench
{
    static Bench()
    {
        Thread t = new Thread(Copier);
        t.IsBackground = true;
        t.Start();
    }

    static void Copier()
    {
        Span<object> a = new object[10_000_000];
        for (;;) a.Slice(1).CopyTo(a);
    }

    public Bench()
    {
    }

    [Benchmark]
    public void ThreadSuspension()
    {
        GC.Collect();
        Thread.Sleep(1);
    }
}
EgorBot

EgorBot commented on Mar 23, 2025

@EgorBot
Owner

❌ Failed on AzureCascadeLake: Job failed, see logs.

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

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

      Participants

      @EgorBo@EgorBot

      Issue actions

        Tests Β· Issue #317 Β· EgorBot/runtime-utils