Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Mac OS X 10.15
Desktop
8 months ago
Test name Executions per second
Math.max.apply 200303.2 Ops/sec
Math.max with spread 197904.0 Ops/sec
basic for loop 1484543.9 Ops/sec
for loop length caching 1532200.1 Ops/sec
Script Preparation code:
Tests:
  • Math.max.apply

  • Math.max with spread

  • basic for loop

  • for loop length caching