Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Linux
Desktop
one year ago
Test name Executions per second
forEach 393.9 Ops/sec
reduce 369.0 Ops/sec
map 375.8 Ops/sec
filter 375.9 Ops/sec
for 328.3 Ops/sec
lodash map 390.5 Ops/sec
lodash filter 374.9 Ops/sec
lodash foreach 390.4 Ops/sec
lodash reduce 378.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for

  • lodash map

  • lodash filter

  • lodash foreach

  • lodash reduce


;