Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36
Chrome Mobile 124
Android
Mobile
5 months ago
Test name Executions per second
reduce 28251.7 Ops/sec
for loop 290529.4 Ops/sec
forEach 265785.4 Ops/sec
decrement while 319035.0 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • decrement while