Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Vivo XL4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.82 Mobile Safari/537.36
Chrome Mobile 90
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
forEach 41.3 Ops/sec
reduce 41.6 Ops/sec
map 40.7 Ops/sec
filter 38.3 Ops/sec
for 34.5 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;