Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Whale/4.29.282.14 Safari/537.36
Chrome 130
Windows
Desktop
9 days ago
Test name Executions per second
reduce 2685954.5 Ops/sec
for loop 3112817.2 Ops/sec
forEach 2696412.8 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach