Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
Chrome 87
Mac OS X 11.0.0
Desktop
3 years ago
Test name Executions per second
Underscore sortBy() 687089.1 Ops/sec
Vanilla sort() 2315121.5 Ops/sec
Vanilla CUSTOM sort method 6183185.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Underscore sortBy()

  • Vanilla sort()

  • Vanilla CUSTOM sort method


;