Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
Max with apply 185515.3 Ops/sec
Max with spread operator 30934.1 Ops/sec
Reduce 9970.3 Ops/sec
Reduce directly 1060873.9 Ops/sec
Script Preparation code:
Tests:
  • Max with apply

  • Max with spread operator

  • Reduce

  • Reduce directly


;