Created
October 11, 2017 07:10
-
-
Save emmanueltouzery/c2ec59fb18b17ef8c3d48a0fadb7cdfa to your computer and use it in GitHub Desktop.
benchmark run of prelude.ts 0.3.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] benchmarks /home/emmanuel/home/prelude.ts | |
> tsc && node ./dist/benchmarks/bench.js | |
Vector.filter x 20,872 ops/sec ±6.94% (69 runs sampled) | |
Array.filter x 11,289 ops/sec ±5.94% (73 runs sampled) | |
immList.filter x 28,128 ops/sec ±2.26% (82 runs sampled) | |
List.filter x 167,296 ops/sec ±0.89% (84 runs sampled) | |
Fastest is List.filter | |
Vector.map x 23,437 ops/sec ±1.15% (88 runs sampled) | |
Array.map x 7,424 ops/sec ±8.47% (66 runs sampled) | |
immList.map x 26,778 ops/sec ±2.05% (80 runs sampled) | |
List.map x 109,850 ops/sec ±1.30% (82 runs sampled) | |
Fastest is List.map | |
Vector.ofIterable x 17,678 ops/sec ±1.80% (86 runs sampled) | |
List.ofIterable x 59,665 ops/sec ±1.05% (83 runs sampled) | |
immList.ofIterable x 49,646 ops/sec ±1.19% (88 runs sampled) | |
Fastest is List.ofIterable | |
Vector.flatMap x 1,824 ops/sec ±1.10% (89 runs sampled) | |
List.flatMap x 3,505 ops/sec ±1.27% (86 runs sampled) | |
immList.flatMap x 1,412 ops/sec ±2.41% (82 runs sampled) | |
Fastest is List.flatMap | |
Vector.reverse x 16,426 ops/sec ±1.66% (84 runs sampled) | |
Array.reverse x 73,969 ops/sec ±0.70% (87 runs sampled) | |
immList.reverse x 25,341 ops/sec ±1.97% (85 runs sampled) | |
List.reverse x 206,407 ops/sec ±0.95% (91 runs sampled) | |
Fastest is List.reverse | |
Vector.groupBy x 8,637 ops/sec ±1.25% (85 runs sampled) | |
List.groupBy x 5,176 ops/sec ±2.60% (81 runs sampled) | |
immList.groupBy x 7,711 ops/sec ±2.61% (81 runs sampled) | |
Fastest is Vector.groupBy | |
Vector.appendAll x 15,596 ops/sec ±2.29% (83 runs sampled) | |
Array.appendAll x 1,354,539 ops/sec ±2.53% (84 runs sampled) | |
immList.appendAll x 8,836 ops/sec ±3.35% (79 runs sampled) | |
List.appendAll x 17,854 ops/sec ±5.78% (72 runs sampled) | |
Fastest is Array.appendAll | |
Vector.prependAll x 5,963 ops/sec ±5.61% (78 runs sampled) | |
Array.prependAll x 1,647,168 ops/sec ±1.14% (89 runs sampled) | |
List.prependAll x 32,071 ops/sec ±4.67% (76 runs sampled) | |
Fastest is Array.prependAll | |
Vector.foldLeft x 89,160 ops/sec ±5.10% (71 runs sampled) | |
Array.foldLeft x 36,377 ops/sec ±5.83% (61 runs sampled) | |
immList.foldLeft x 68,454 ops/sec ±5.88% (73 runs sampled) | |
List.foldLeft x 91,080 ops/sec ±4.43% (75 runs sampled) | |
Fastest is List.foldLeft,Vector.foldLeft | |
Vector.foldRight x 73,866 ops/sec ±5.66% (63 runs sampled) | |
immList.foldRight x 54,670 ops/sec ±5.15% (64 runs sampled) | |
List.foldRight x 72,393 ops/sec ±4.97% (63 runs sampled) | |
Fastest is Vector.foldRight,List.foldRight |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment