Skip to content
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

EgorBot for EgorBo in #109014 #124

Open
EgorBot opened this issue Oct 18, 2024 · 2 comments
Open

EgorBot for EgorBo in #109014 #124

EgorBot opened this issue Oct 18, 2024 · 2 comments

Comments

@EgorBot
Copy link
Owner

EgorBot commented Oct 18, 2024

Processing dotnet/runtime#109014 (comment) command:

Command

-arm64 -profiler -nonativepgo -perf_events ld_align_lat

using BenchmarkDotNet.Attributes;

public class Bench
{
    static object[] Src = Enumerable.Range(0, 10).Select(i => (object)i).ToArray();
    static object[] Dst = new object[128];

    [Benchmark]public void CopyObjects10() => Src.AsSpan().CopyTo(Dst);
}

(EgorBot will reply in this issue)

@EgorBot
Copy link
Owner Author

EgorBot commented Oct 18, 2024

Benchmark results on Arm64

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
Arm64
  Job-TPTPUM : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
  Job-WVHOZW : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Method Toolchain Mean Error Ratio
CopyObjects10 Main 7.832 ns 0.0056 ns 1.00
CopyObjects10 PR 8.712 ns 0.0006 ns 1.11

BDN_Artifacts.zip

Profile for Bench_CopyObjects10:

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 Oct 18, 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