Run details:
Mozilla/5.0 (Linux; U; Android 9; ru-ru; Redmi Note 6 Pro Build/PKQ1.180904.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.6.0-gn
Chrome Mobile 89
Android
Mobile
2 years ago
Test name Executions per second
forEach 85.2 Ops/sec
reduce 84.6 Ops/sec
map 82.4 Ops/sec
filter 83.2 Ops/sec
for 71.3 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;