Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Chrome 92
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Math.max.apply 136119.4 Ops/sec
Math.max with spread 140361.2 Ops/sec
basic for loop 5524.9 Ops/sec
for loop length caching 8143.9 Ops/sec
Script Preparation code:
Tests:
  • Math.max.apply

  • Math.max with spread

  • basic for loop

  • for loop length caching


;