Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0
Firefox 143
Ubuntu
Desktop
7 months ago
Test name Executions per second
Math.max.apply 273224.0 Ops/sec
Math.max with spread 288852.2 Ops/sec
basic for loop 821205.1 Ops/sec
for loop length caching 1197843.5 Ops/sec
Script Preparation code:
Tests:
  • Math.max.apply

  • Math.max with spread

  • basic for loop

  • for loop length caching