Skip to content

Instantly share code, notes, and snippets.

@danielcrenna
Last active February 12, 2020 18:47
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 danielcrenna/770afac1ce9d31f530bacca8da0b5181 to your computer and use it in GitHub Desktop.
Save danielcrenna/770afac1ce9d31f530bacca8da0b5181 to your computer and use it in GitHub Desktop.
[TypeKitchen] Current Benchmarks
BenchmarkDotNet=v0.12.0, OS=Windows 10.0.18362
Intel Core i9-9820X CPU 3.30GHz, 1 CPU, 20 logical and 10 physical cores
.NET Core SDK=3.1.101
  [Host]     : .NET Core 3.1.1 (CoreCLR 4.700.19.60701, CoreFX 4.700.19.60801), X64 RyuJIT
  Job-VCJQXP : .NET Core 3.1.1 (CoreCLR 4.700.19.60701, CoreFX 4.700.19.60801), X64 RyuJIT

Runtime=.NET Core 3.1  
Method Mean Error StdDev Ratio RatioSD Gen 0 Gen 1 Gen 2 Allocated
Contrived_Direct_Access 12.12 ns 0.069 ns 0.061 ns 1.00 0.00 - - - -
TypeKitchen_ReadAccessor_Singleton 15.93 ns 0.151 ns 0.141 ns 1.31 0.01 - - - -
FastMember_TypeAccessor_Singleton 40.58 ns 0.202 ns 0.179 ns 3.35 0.02 - - - -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment