Skip to content

Instantly share code, notes, and snippets.

@bryanedds
Last active May 25, 2020 19:24
Show Gist options
  • Save bryanedds/1228203769f11ce45934f62430ecf9c8 to your computer and use it in GitHub Desktop.
Save bryanedds/1228203769f11ce45934f62430ecf9c8 to your computer and use it in GitHub Desktop.
Prime Collections Benchmarks
Array Compute timings...
Run time: 00:00:00.2584128
Run time: 00:00:00.2624985
Run time: 00:00:00.2559355
Run time: 00:00:00.2585773
UList Compute timings...
Run time: 00:00:00.8482014
Run time: 00:00:00.8477076
Run time: 00:00:00.8356866
Run time: 00:00:00.8330682
UList Imperative Compute timings...
Run time: 00:00:00.7679162
Run time: 00:00:00.7584343
Run time: 00:00:00.7909840
Run time: 00:00:00.7811554
F# List Compute timings...
Run time: 00:00:02.5537350
Run time: 00:00:02.6253488
Run time: 00:00:02.5993885
Run time: 00:00:02.6395336
HMap timings...
Make time: 00:00:01.0942291 Lookup time: 00:00:00.1206323 Run time: 00:00:01.2148614
Make time: 00:00:01.1138041 Lookup time: 00:00:00.1243359 Run time: 00:00:01.2381400
Make time: 00:00:01.0872775 Lookup time: 00:00:00.1213497 Run time: 00:00:01.2086272
Make time: 00:00:01.0778020 Lookup time: 00:00:00.1213668 Run time: 00:00:01.1991688
TMap timings...
Make time: 00:00:00.2013578 Lookup time: 00:00:00.0472923 Run time: 00:00:00.2486501
Make time: 00:00:00.2029432 Lookup time: 00:00:00.0460092 Run time: 00:00:00.2489524
Make time: 00:00:00.2020707 Lookup time: 00:00:00.0466219 Run time: 00:00:00.2486926
Make time: 00:00:00.2058602 Lookup time: 00:00:00.0468774 Run time: 00:00:00.2527376
UMap timings...
Make time: 00:00:00.1967883 Lookup time: 00:00:00.0455726 Run time: 00:00:00.2423609
Make time: 00:00:00.2239186 Lookup time: 00:00:00.0459434 Run time: 00:00:00.2698620
Make time: 00:00:00.2036430 Lookup time: 00:00:00.0455154 Run time: 00:00:00.2491584
Make time: 00:00:00.2210602 Lookup time: 00:00:00.0458262 Run time: 00:00:00.2668864
UMap Imperative timings...
Make time: 00:00:00.0672491 Lookup time: 00:00:00.0443760 Run time: 00:00:00.1116251
Make time: 00:00:00.0763361 Lookup time: 00:00:00.0467150 Run time: 00:00:00.1230511
Make time: 00:00:00.0761614 Lookup time: 00:00:00.0470809 Run time: 00:00:00.1232423
Make time: 00:00:00.0688766 Lookup time: 00:00:00.0444128 Run time: 00:00:00.1132894
.NET Dictionary timings...
Make time: 00:00:00.0465728 Lookup time: 00:00:00.0436789 Run time: 00:00:00.0902517
Make time: 00:00:00.0470855 Lookup time: 00:00:00.0438291 Run time: 00:00:00.0909146
Make time: 00:00:00.0483898 Lookup time: 00:00:00.0459408 Run time: 00:00:00.0943306
Make time: 00:00:00.0468740 Lookup time: 00:00:00.0438649 Run time: 00:00:00.0907389
F# Map timings...
Make time: 00:00:01.7803926 Lookup time: 00:00:00.4352759 Run time: 00:00:02.2156685
Make time: 00:00:01.7908544 Lookup time: 00:00:00.4361905 Run time: 00:00:02.2270449
Make time: 00:00:01.7958737 Lookup time: 00:00:00.4320556 Run time: 00:00:02.2279293
Make time: 00:00:01.7842439 Lookup time: 00:00:00.4315456 Run time: 00:00:02.2157895
Press any key to continue . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment