Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Mac OS X 10.13.1
Other
2025 years ago
Test name Executions per second
PR Code 11477.8 Ops/sec
Comparison Code 31333.2 Ops/sec
Comparison Code 2, simple sort function 150957.1 Ops/sec
Comparison Code 3, syntactic sugar 147717.3 Ops/sec
Comparison Code 4, now even quicker? 148378.9 Ops/sec
Script Preparation code:
Tests:
  • PR Code

  • Comparison Code

  • Comparison Code 2, simple sort function

  • Comparison Code 3, syntactic sugar

  • Comparison Code 4, now even quicker?