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


;