Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.37 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 130
iOS 18.0
Mobile
2 months ago
Test name Executions per second
reduce 926931.9 Ops/sec
for loop 1746619.4 Ops/sec
forEach 402201.1 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach