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 119373.3 Ops/sec
Math.max with spread 124381.2 Ops/sec
basic for loop 416650.9 Ops/sec
for loop length caching 414175.1 Ops/sec
Script Preparation code:
Tests:
  • Math.max.apply

  • Math.max with spread

  • basic for loop

  • for loop length caching