Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Windows
Other
2025 years ago
Test name Executions per second
Lodash 165.3 Ops/sec
Filter 93.8 Ops/sec
Reduce with Set 7581.0 Ops/sec
Reduce no set 92.6 Ops/sec
Filter with set 7475.9 Ops/sec
Lodash with set 8479.9 Ops/sec
HTML Preparation code:
Tests:
  • Lodash

  • Filter

  • Reduce with Set

  • Reduce no set

  • Filter with set

  • Lodash with set


;