Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Chrome 91
Mac OS X 10.14.4
Desktop
3 years ago
Test name Executions per second
forEach 341.9 Ops/sec
reduce 351.8 Ops/sec
map 347.1 Ops/sec
filter 353.0 Ops/sec
for 316.5 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;