Skip to content

Instantly share code, notes, and snippets.

@ig-sinicyn
Created August 16, 2016 14:10
Show Gist options
  • Save ig-sinicyn/ac6445ad23006ec7a3083ad765ec88d0 to your computer and use it in GitHub Desktop.
Save ig-sinicyn/ac6445ad23006ec7a3083ad765ec88d0 to your computer and use it in GitHub Desktop.
BenchmarkDotNet=v0.9.7.0
OS=Microsoft Windows NT 10.0.10586.0
Processor=Intel(R) Core(TM) i5-2550K CPU 3.40GHz, ProcessorCount=4
Frequency=3312785 ticks, Resolution=301.8608 ns, Timer=TSC
HostCLR=MS.NET 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]
JitModules=clrjit-v4.6.1080.0
Type=CallCostPerfTests Mode=SingleRun Platform=X64
Jit=RyuJit Toolchain=InProcessToolchain LaunchCount=1
WarmupCount=100 TargetCount=300
Method | Median | StdDev | Scaled | Min | Lnml(min) | Lnml(max) | Max |
---------------------------------- |-------------- |------------ |------- |-------------- |---------- |---------- |-------------- |
Test00Raw | 31.0917 us | 1.1748 us | 1.00 | 29.8842 us | 1.00 | 1.00 | 44.6754 us |
Test01Call | 30.7898 us | 3.7810 us | 0.99 | 29.8842 us | 1.00 | 1.00 | 93.2750 us |
Test02GenericCall | 30.4879 us | 1.0051 us | 0.98 | 29.8842 us | 0.99 | 0.99 | 45.2791 us |
Test03InstanceCall | 31.3935 us | 1.2472 us | 1.01 | 29.8842 us | 1.01 | 1.01 | 44.6754 us |
Test04InstanceGenericCall | 31.0917 us | 1.1445 us | 1.00 | 29.8842 us | 1.01 | 1.01 | 43.4680 us |
Test05CallNoInline | 258.6947 us | 10.4754 us | 8.32 | 257.4873 us | 8.40 | 8.40 | 362.5349 us |
Test06InstanceCallNoInline | 258.6947 us | 1.8818 us | 8.32 | 257.7891 us | 8.34 | 8.34 | 273.1840 us |
Test07InstanceVirtualCall | 201.3412 us | 4.6012 us | 6.48 | 200.4356 us | 6.50 | 6.50 | 269.2599 us |
Test08DerivedVirtualCall | 201.0393 us | 2.0249 us | 6.47 | 200.4356 us | 6.49 | 6.49 | 215.2268 us |
Test09InterfaceCall | 258.3929 us | 2.4449 us | 8.31 | 257.4873 us | 8.33 | 8.33 | 280.1268 us |
Test10DerivedInterfaceCall | 258.3929 us | 2.2898 us | 8.31 | 257.4873 us | 8.33 | 8.33 | 273.4859 us |
Test11GenericInterfaceCall | 258.6947 us | 15.1046 us | 8.32 | 257.7891 us | 8.40 | 8.40 | 438.9056 us |
Test12DerivedGenericInterfaceCall | 258.6947 us | 2.9384 us | 8.32 | 257.7891 us | 8.36 | 8.36 | 287.0696 us |
Test13InterfaceGenericCall | 1,271.7396 us | 22.4523 us | 40.90 | 1,233.7052 us | 41.01 | 41.01 | 1,442.8947 us |
Test14DerivedInterfaceGenericCall | 1,270.6831 us | 110.3115 us | 40.87 | 1,229.4791 us | 42.07 | 42.07 | 2,014.6191 us |
Test15LambdaCached | 229.7161 us | 21.0070 us | 7.39 | 229.1124 us | 7.46 | 7.46 | 487.8071 us |
Test16LambdaNew | 315.4446 us | 13.7324 us | 10.15 | 306.0869 us | 10.18 | 10.18 | 425.9256 us |
Test17LambdaClosure | 316.0483 us | 6.0375 us | 10.17 | 306.3887 us | 10.20 | 10.20 | 363.1386 us |
Test18LambdaClosureLocal | 1,862.4813 us | 143.9669 us | 59.90 | 1,632.7652 us | 60.84 | 60.84 | 2,360.5516 us |
Test19FuncCached | 344.4232 us | 38.0034 us | 11.08 | 343.5176 us | 11.48 | 11.48 | 733.5218 us |
Test20FuncCachedInstance | 258.6947 us | 2.4592 us | 8.32 | 257.4873 us | 8.35 | 8.35 | 272.8822 us |
Test21FuncNew | 1,205.1793 us | 132.2266 us | 38.76 | 1,126.5446 us | 40.22 | 40.22 | 1,812.9761 us |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment