You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
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
EgorBot commentedon Sep 3, 2024
Benchmark results on
IntelBDN_Artifacts.zip
Flame graphs: Main vs PR 🔥
Hot asm: Main vs PR
Hot functions: Main vs PR
Counters: Main vs PR
For clean
perfresults, make sure you have just one[Benchmark]in your app.EgorBot commentedon Sep 3, 2024
cc @AaronRobinsonMSFT (logs)
EgorBot commentedon Sep 3, 2024
Benchmark results on
AmpereBDN_Artifacts.zip
Flame graphs: Main vs PR 🔥
Hot asm: Main vs PR
Hot functions: Main vs PR
Counters: Main vs PR
For clean
perfresults, make sure you have just one[Benchmark]in your app.EgorBot commentedon Sep 3, 2024
cc @AaronRobinsonMSFT (logs)
EgorBo commentedon Sep 3, 2024
Looks like I broke
profilermode in my recent updates to the bot 😐