Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Mac OS X 10.13.3
Other
2025 years ago
Test name Executions per second
PR Code 14455.3 Ops/sec
Comparison Code 39316.1 Ops/sec
Comparison Code 2, simple sort function 188626.2 Ops/sec
Comparison Code 3, syntactic sugar 181665.5 Ops/sec
Comparison Code 4, now even quicker? 181673.3 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?