Skip to content

EgorBot for EgorBo in #108153 #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EgorBot opened this issue Sep 30, 2024 · 4 comments
Open

EgorBot for EgorBo in #108153 #104

EgorBot opened this issue Sep 30, 2024 · 4 comments

Comments

@EgorBot
Copy link
Owner

EgorBot commented Sep 30, 2024

Processing dotnet/runtime#108153 (comment) command:

Command

-intel -arm64 -profiler

using BenchmarkDotNet.Attributes;

public class Bench
{
    IList<int> list = new int[1024];

    [Benchmark]
    public int Test()
    {
        int sum = 0;
        foreach (var i in list)
            sum += i;
        return sum;
    }
}

(EgorBot will reply in this issue)

@EgorBot
Copy link
Owner Author

EgorBot commented Sep 30, 2024

Benchmark results on AzureIntel

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 16 logical and 8 physical cores
  Job-WXTPRO : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-KWQEDP : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Toolchain Mean Error Ratio
Test Main 1.967 μs 0.0056 μs 1.00
Test PR 1.630 μs 0.0325 μs 0.83

BDN_Artifacts.zip

Profile for Bench_Test:

Flame graphs: Main vs PR 🔥
Speedscope: Main vs PR
Hot asm: Main vs PR
Hot functions: Main vs PR
Counters: Main vs PR

@EgorBot
Copy link
Owner Author

EgorBot commented Sep 30, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner Author

EgorBot commented Sep 30, 2024

Benchmark results on AzureAmpere

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AzureAmpere
  Job-GMUKAD : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
  Job-ACWIYE : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Method Toolchain Mean Error Ratio
Test Main 2.293 μs 0.0023 μs 1.00
Test PR 2.097 μs 0.0003 μs 0.91

BDN_Artifacts.zip

Profile for Bench_Test:

Flame graphs: Main vs PR 🔥
Speedscope: Main vs PR
Hot asm: Main vs PR
Hot functions: Main vs PR
Counters: Main vs PR

@EgorBot
Copy link
Owner Author

EgorBot commented Sep 30, 2024

cc @EgorBo (logs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant