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.

EgorBot for jkotas in #107218 #12

Open

Description

@EgorBot

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));
}

Activity

  1. EgorBo commented on Sep 1, 2024

    @EgorBo

    @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)

  2. EgorBo commented on Sep 1, 2024

    @EgorBo

    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

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

      Issue actions