Skip to content

Instantly share code, notes, and snippets.

@alimozdemir
Last active December 29, 2017 20:26
Show Gist options
  • Save alimozdemir/9eb945324da27b349434085d699a2359 to your computer and use it in GitHub Desktop.
Save alimozdemir/9eb945324da27b349434085d699a2359 to your computer and use it in GitHub Desktop.
BenchmarkDotNet=v0.10.11, OS=macOS 10.13.2 (17C88) [Darwin 17.3.0]
Processor=Intel Core i5-7360U CPU 2.30GHz (Kaby Lake), ProcessorCount=4
.NET Core SDK=2.0.3
  [Host]     : .NET Core 2.0.3 (Framework 4.6.0.0), 64bit RyuJIT
  DefaultJob : .NET Core 2.0.3 (Framework 4.6.0.0), 64bit RyuJIT

Method Mean Error StdDev Median Gen 0 Allocated
ClassicWithObject 33.56 ns 0.8403 ns 0.8252 ns 33.30 ns - 0 B
ClassicWithObjectArray 255.92 ns 5.1231 ns 12.7583 ns 250.84 ns 0.3238 680 B
ParamsWithObject 101.03 ns 1.8512 ns 3.0929 ns 101.51 ns 0.3089 648 B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment