Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
Chrome Mobile 130
Android
Mobile
one month ago
Test name Executions per second
reduce 268513.9 Ops/sec
for loop 490774.3 Ops/sec
forEach 553999.4 Ops/sec
for-of loop 681251.2 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • for-of loop