Skip to content

Instantly share code, notes, and snippets.

@jackmott
Created August 31, 2016 01:13
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 jackmott/b1fe12dd7976538f9a9c066e0e973609 to your computer and use it in GitHub Desktop.
Save jackmott/b1fe12dd7976538f9a9c066e0e973609 to your computer and use it in GitHub Desktop.
LinqTests
Host Process Environment Information:
BenchmarkDotNet.Core=v0.9.9.0
OS=Microsoft Windows NT 6.2.9200.0
Processor=Intel(R) Core(TM) i7-4712HQ CPU 2.30GHz, ProcessorCount=8
Frequency=2240905 ticks, Resolution=446.2483 ns, Timer=TSC
CLR=MS.NET 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]
GC=Concurrent Workstation
JitModules=clrjit-v4.6.1590.0

Type=Bench  Mode=Throughput  Platform=X64  
Jit=RyuJit  
         Method | length |        Median |     StdDev | Gen 0 | Gen 1 | Gen 2 | Bytes Allocated/Op |

------------------- |------- |-------------- |----------- |------ |------ |------ |------------------- | OneWhereLinkedList | 100000 | 1,514.1195 us | 21.2135 us | 21.32 | 0.44 | 0.44 | 23,330.88 | TwoWhereLinkedList | 100000 | 1,626.3170 us | 51.3409 us | 41.00 | 1.00 | 1.00 | 45,297.28 | OneWhereList | 100000 | 660.0025 us | 7.1182 us | 10.93 | 0.20 | 0.20 | 11,932.90 | TwoWhereList | 100000 | 812.1788 us | 16.9855 us | 21.19 | 0.46 | 0.46 | 23,317.02 | OneWhereArray | 100000 | 514.2447 us | 3.8809 us | 10.79 | 0.24 | 0.24 | 11,858.14 | TwoWhereArray | 100000 | 667.6232 us | 12.5957 us | 11.04 | 0.18 | 0.18 | 12,032.53 | NoLinq | 100000 | 152.7134 us | 2.4725 us | 2.80 | 0.07 | 0.07 | 3,084.95 |

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