Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
Math.max.apply 260273.7 Ops/sec
Math.max with spread 60324.8 Ops/sec
basic for loop 1506.1 Ops/sec
for loop length caching 2303.2 Ops/sec
Script Preparation code:
Tests:
  • Math.max.apply

  • Math.max with spread

  • basic for loop

  • for loop length caching


;