Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
Chrome 64
Windows
Other
2025 years ago
Test name Executions per second
PR Code 10844.4 Ops/sec
Comparison Code 29030.6 Ops/sec
Comparison Code 2, simple sort function 164182.0 Ops/sec
Comparison Code 3, syntactic sugar 160439.9 Ops/sec
Comparison Code 4, now even quicker? 157258.5 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?


;