Skip to content

Instantly share code, notes, and snippets.

@pgsin
Created May 24, 2018 14:32
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 pgsin/31a771aa07038668ba13f2b573500fc0 to your computer and use it in GitHub Desktop.
Save pgsin/31a771aa07038668ba13f2b573500fc0 to your computer and use it in GitHub Desktop.
BenchmarkDotNet=v0.10.14, OS=Windows 10.0.16299.371 (1709/FallCreatorsUpdate/Redstone3)
Intel Core i7-7820HQ CPU 2.90GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
Frequency=2835937 Hz, Resolution=352.6171 ns, Timer=TSC
  [Host]     : .NET Framework 4.7.1 (CLR 4.0.30319.42000), 32bit LegacyJIT-v4.7.2633.0
  Job-JWVBYN : .NET Framework 4.7.1 (CLR 4.0.30319.42000), 32bit LegacyJIT-v4.7.2633.0

Runtime=Clr  IsBaseline=True  
Method M Mean Error StdDev Scaled Rank Gen 0 Gen 1 Gen 2 Allocated
CombinationsWoRecursion 5 508.4 us 9.671 us 10.750 us 1.00 1 - - - 224 B
CombinationsDavid 5 1,190.0 us 8.536 us 7.985 us 1.00 1 101.5625 46.8750 - 627462 B
CombinationsWoRecursion 6 1,405.8 us 26.008 us 24.328 us 1.00 1 - - - 240 B
CombinationsDavid 6 4,079.4 us 32.124 us 26.825 us 1.00 1 250.0000 125.0000 117.1875 1920002 B
CombinationsWoRecursion 7 3,064.4 us 32.984 us 30.854 us 1.00 1 - - - 256 B
CombinationsDavid 7 9,806.9 us 183.477 us 162.647 us 1.00 1 578.1250 421.8750 281.2500 4150535 B
CombinationsWoRecursion 8 5,620.1 us 52.787 us 49.377 us 1.00 1 - - - 256 B
CombinationsDavid 8 19,064.1 us 332.543 us 311.061 us 1.00 1 1093.7500 812.5000 406.2500 6592223 B
CombinationsWoRecursion 9 8,473.0 us 68.854 us 64.406 us 1.00 1 - - - 384 B
CombinationsDavid 9 28,080.5 us 325.863 us 304.813 us 1.00 1 1656.2500 1343.7500 625.0000 10160247 B
CombinationsWoRecursion 10 11,066.5 us 69.668 us 61.759 us 1.00 1 - - - 384 B
CombinationsDavid 10 33,777.3 us 526.854 us 467.042 us 1.00 1 2062.5000 1562.5000 750.0000 11705726 B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment