Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36
Chrome 74
Mac OS X 10.15.7
Desktop
4 years ago
Test name Executions per second
Underscore sortBy() 500495.5 Ops/sec
Vanilla sort() 1485297.5 Ops/sec
Vanilla CUSTOM sort method 4585160.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Underscore sortBy()

  • Vanilla sort()

  • Vanilla CUSTOM sort method


;