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.1 Ops/sec
reduce 42.2 Ops/sec
map 40.1 Ops/sec
filter 39.7 Ops/sec
for 34.4 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;