Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Chrome 64
Windows 7
Other
2025 years ago
Test name Executions per second
PR Code 10468.0 Ops/sec
Comparison Code 27865.0 Ops/sec
Comparison Code 2, simple sort function 158390.5 Ops/sec
Comparison Code 3, syntactic sugar 154994.8 Ops/sec
Comparison Code 4, now even quicker? 150632.8 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?