Skip to content

Instantly share code, notes, and snippets.

@briancavalier
Created March 8, 2015 23:55
Show Gist options
  • Select an option

  • Save briancavalier/aa2e796cee134b8feeac to your computer and use it in GitHub Desktop.

Select an option

Save briancavalier/aa2e796cee134b8feeac to your computer and use it in GitHub Desktop.
most.js filter-map-reduce perf test @ 5k events
test/perf❯ npm ls
[email protected] /Users/brian/Projects/cujojs/most/test/perf
├── [email protected]
├─┬ [email protected] (git+https://github.com/bestiejs/benchmark.js#1e8e5db13ed7a1c9c20a246a95b8fc474173c754)
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
test/perf❯ node ./filter-map-reduce.js 5000
filter -> map -> reduce 5000 integers
-------------------------------------------------------
most 21460.97 op/s ± 0.94% (79 samples)
rx 170.66 op/s ± 1.49% (42 samples)
kefir 1638.16 op/s ± 3.90% (37 samples)
bacon 182.84 op/s ± 1.70% (41 samples)
highland 1015.57 op/s ± 1.87% (44 samples)
lodash 5232.92 op/s ± 1.30% (77 samples)
Array 1628.38 op/s ± 1.47% (82 samples)
-------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment