Skip to content

Instantly share code, notes, and snippets.

@jaredpar
Created May 31, 2023 18:05
Show Gist options
  • Save jaredpar/f2fd4c87917ed0de73981a5ea410015e to your computer and use it in GitHub Desktop.
Save jaredpar/f2fd4c87917ed0de73981a5ea410015e to your computer and use it in GitHub Desktop.
Method Runtime Mean Error StdDev
BuildConsole .NET 7.0 766.1 us 9.20 us 8.61 us
BuildRegex .NET 7.0 185,561.0 us 3,341.04 us 5,000.71 us
BuildCompiler .NET 7.0 964,543.7 us 19,287.08 us 27,037.80 us
BuildConsole .NET 8.0 761.5 us 14.77 us 16.42 us
BuildRegex .NET 8.0 176,244.4 us 2,601.66 us 4,417.81 us
BuildCompiler .NET 8.0 944,589.2 us 18,860.02 us 51,629.00 us
BuildConsole .NET Framework 4.8.1 1,094.1 us 10.63 us 8.88 us
BuildRegex .NET Framework 4.8.1 410,393.0 us 7,304.48 us 6,099.57 us
BuildCompiler .NET Framework 4.8.1 2,044,387.2 us 40,654.16 us 48,395.89 us

// * Warnings * MultimodalDistribution CompilationBenchmak.BuildCompiler: Runtime=.NET 8.0, Server=True -> It seems that the distribution is bimodal (mValue = 3.44)

@danmoseley
Copy link

μs .NET Framework 4.8.1 .NET 7.0 .NET 8.0
Build Hello World 1,094.10 766.1 (-30.0%) 761.5 (-30.4%)
Build simple app 410,393.00 185,561.0 (-54.8%) 176,244.4 (-57.1%)
Build Roslyn 2,044,387.20 964,543.7 (-52.8%) 944,589.2 (-53.8%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment