Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 YaBrowser/21.2.2.102 Yowser/2.5 Safari/537.36
Yandex Browser 21
Windows
Desktop
3 years ago
Test name Executions per second
forEach 101.6 Ops/sec
reduce 100.9 Ops/sec
map 96.7 Ops/sec
filter 98.9 Ops/sec
for 86.7 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;