Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
Reduce filter 3121241.8 Ops/sec
Lodash reduce filter 1827078.0 Ops/sec
Native filter 3427953.2 Ops/sec
Lodash filter 1948574.1 Ops/sec
Reduce modify 3648927.8 Ops/sec
Map modify 3640205.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Reduce filter

  • Lodash reduce filter

  • Native filter

  • Lodash filter

  • Reduce modify

  • Map modify


;