Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/120.0
Firefox 120
Windows
Desktop
8 months ago
Test name Executions per second
reduce 646813.3 Ops/sec
for loop 1250990.4 Ops/sec
forEach 956209.8 Ops/sec
decrement while 238803.2 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • decrement while