Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Windows
Desktop
6 years ago
Test name Executions per second
forEach 9161.8 Ops/sec
map 8483.8 Ops/sec
for 4293.0 Ops/sec
for 2 4313.1 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • map

  • for

  • for 2


;