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 11283.2 Ops/sec
Comparison Code 29537.6 Ops/sec
Comparison Code 2, simple sort function 137074.5 Ops/sec
Comparison Code 3, syntactic sugar 134081.2 Ops/sec
Comparison Code 4, now even quicker? 136876.2 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?