Run details:
Mozilla/5.0 (Linux; Android 11; HD1903) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.99 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
forEach 140.9 Ops/sec
reduce 142.6 Ops/sec
map 141.6 Ops/sec
filter 142.9 Ops/sec
for 121.1 Ops/sec
lodash map 148.7 Ops/sec
lodash filter 141.6 Ops/sec
lodash foreach 139.7 Ops/sec
lodash reduce 143.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for

  • lodash map

  • lodash filter

  • lodash foreach

  • lodash reduce


;