Skip to content

Instantly share code, notes, and snippets.

@TylorS
Created May 16, 2016 07:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TylorS/e6c312361f36cdf84c2c847a80985d45 to your computer and use it in GitHub Desktop.
Save TylorS/e6c312361f36cdf84c2c847a80985d45 to your computer and use it in GitHub Desktop.
~/code/most/most-subject/perf subject-class* 19s
❯ node ./filter-map-reduce.js
filter -> map -> reduce 1000000 integers
-----------------------------------------------
most         14.20 op/s ±  0.83%   (68 samples)
xstream      21.91 op/s ±  1.90%   (29 samples)
rx 5          4.68 op/s ±  1.12%   (16 samples)
-----------------------------------------------

~/code/most/most-subject/perf subject-class 20s
❯ node ./filter-map-reduce.js
filter -> map -> reduce 100000 integers
-----------------------------------------------
most        139.54 op/s ±  2.77%   (80 samples)
xstream     205.74 op/s ±  3.17%   (36 samples)
rx 5         39.28 op/s ±  4.13%   (33 samples)
-----------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment