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 jkotas in #107218 #12

Open
EgorBot opened this issue Sep 1, 2024 · 2 comments
Open

EgorBot for jkotas in #107218 #12

EgorBot opened this issue Sep 1, 2024 · 2 comments

Comments

@EgorBot
Copy link
Owner

EgorBot commented Sep 1, 2024

Processing dotnet/runtime#107218 (comment):


-intel -arm64 -perf

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

BenchmarkRunner.Run<Bench>(args: args);

public class Bench
{
    [Benchmark]
    public void Foo()
    {
        for (int i = 0; i < 1000; i++)
            Work<char>(1);
    }

    [MethodImpl(MethodImplOptions.NoInlining)]
    static void Work<T>(int size) => GC.KeepAlive(GC.AllocateUninitializedArray<T>(size));
}
@EgorBo
Copy link

EgorBo commented Sep 1, 2024

@jkotas arm64 is still building (it's Ampere Altra so slower than Xeon) and will be reported here once finished, while Xeon (-intel) failed internally while I was updating the bot, so I restarted it and the results has been posted here: #13 (comment)

@EgorBo
Copy link

EgorBo commented Sep 1, 2024

Ugh, arm64 also didn't survive the bot update, the results can be found here: #16 (comment)

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

2 participants