Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7
Safari 11
Mac OS X 10.13.2
Other
2025 years ago
Test name Executions per second
Lodash 769.5 Ops/sec
Filter 61.8 Ops/sec
Reduce with Set 3798.5 Ops/sec
Reduce no set 511.0 Ops/sec
Filter with set 3268.3 Ops/sec
Lodash with set 3820.6 Ops/sec
HTML Preparation code:
Tests:
  • Lodash

  • Filter

  • Reduce with Set

  • Reduce no set

  • Filter with set

  • Lodash with set


;