Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbogard/20f026885a79fb5f0227f577d16397f0 to your computer and use it in GitHub Desktop.
Save jbogard/20f026885a79fb5f0227f577d16397f0 to your computer and use it in GitHub Desktop.
BenchmarkDotNet=v0.10.13, OS=macOS 10.13.4 (17E199) [Darwin 17.5.0]
Intel Core i7-6567U CPU 3.30GHz (Skylake), 1 CPU, 4 logical cores and 2 physical cores
.NET Core SDK=2.1.300-preview2-008530
  [Host]     : .NET Core 2.1.0-preview2-26406-04 (CoreCLR 4.6.26406.07, CoreFX 4.6.26406.04), 64bit RyuJIT
  Job-LGTEBK : .NET Core 2.1.0-preview2-26406-04 (CoreCLR 4.6.26406.07, CoreFX 4.6.26406.04), 64bit RyuJIT

Runtime=Core  Server=True  Toolchain=.NET Core 2.1  
RunStrategy=Throughput  
Method Mode Mean Error StdDev Op/s Scaled ScaledSD Gen 0 Gen 1 Allocated
NoDI Dynamic 5.370 ns 0.0525 ns 0.0439 ns 186,219,429.1 1.00 0.00 0.0008 - 24 B
BuildProvider Dynamic 1,055.096 ns 15.6231 ns 13.0460 ns 947,781.0 196.49 2.80 0.0515 - 1648 B
Transient Dynamic 4,256.099 ns 36.7606 ns 34.3859 ns 234,956.9 792.62 8.77 0.0992 - 3216 B
Scoped Dynamic 4,946.904 ns 33.1588 ns 27.6891 ns 202,146.6 921.27 8.76 0.1144 - 3776 B
Singleton Dynamic 4,684.118 ns 31.3954 ns 27.8312 ns 213,487.4 872.33 8.47 0.1068 - 3376 B
NoDI Expressions 5.777 ns 0.0383 ns 0.0340 ns 173,091,786.8 1.00 0.00 0.0008 - 24 B
BuildProvider Expressions 1,049.965 ns 10.0027 ns 8.3527 ns 952,412.6 181.75 1.73 0.0515 - 1648 B
Transient Expressions 95,661.382 ns 1,022.5562 ns 906.4694 ns 10,453.5 16,558.73 177.98 0.2441 0.1221 8120 B
Scoped Expressions 999,890.262 ns 11,881.4807 ns 10,532.6221 ns 1,000.1 173,078.35 2,012.41 - - 28049 B
Singleton Expressions 4,687.100 ns 47.4965 ns 42.1044 ns 213,351.6 811.32 8.40 0.1068 - 3384 B
NoDI ILEmit 5.751 ns 0.0471 ns 0.0393 ns 173,870,747.8 1.00 0.00 0.0008 - 24 B
BuildProvider ILEmit 1,032.189 ns 5.3810 ns 4.4934 ns 968,814.6 179.48 1.40 0.0515 - 1648 B
Transient ILEmit 75,345.812 ns 631.1615 ns 559.5082 ns 13,272.1 13,101.00 127.26 0.1221 - 4456 B
Scoped ILEmit 655,304.154 ns 3,684.7530 ns 3,076.9354 ns 1,526.0 113,943.14 908.00 - - 9376 B
Singleton ILEmit 4,708.745 ns 50.8179 ns 42.4353 ns 212,370.8 818.75 8.90 0.1068 - 3384 B
NoDI Runtime 5.814 ns 0.0656 ns 0.0512 ns 171,987,942.8 1.00 0.00 0.0008 - 24 B
BuildProvider Runtime 1,010.493 ns 8.0506 ns 6.7226 ns 989,615.9 173.81 1.85 0.0515 - 1600 B
Transient Runtime 4,311.847 ns 33.0441 ns 27.5933 ns 231,919.2 741.64 7.77 0.0992 - 3224 B
Scoped Runtime 5,305.859 ns 52.5737 ns 43.9014 ns 188,470.9 912.61 10.61 0.1221 - 3840 B
Singleton Runtime 4,599.727 ns 88.6542 ns 108.8754 ns 217,404.2 791.15 19.49 0.1068 - 3384 B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment