Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Chrome 91
Mac OS X 10.13.6
Desktop
3 years ago
Test name Executions per second
forEach 346.0 Ops/sec
reduce 355.1 Ops/sec
map 342.3 Ops/sec
filter 340.7 Ops/sec
for 302.5 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for


;