Run details:
Mozilla/5.0 (Android 10; Mobile; rv:123.0) Gecko/123.0 Firefox/123.0
Firefox Mobile 123
Android
Mobile
9 months ago
Test name Executions per second
Math.max.apply 117787.1 Ops/sec
Math.max with spread 120751.8 Ops/sec
basic for loop 420767.0 Ops/sec
for loop length caching 421023.4 Ops/sec
Script Preparation code:
Tests:
  • Math.max.apply

  • Math.max with spread

  • basic for loop

  • for loop length caching