Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Chrome 72
Mac OS X 10.13.0
Desktop
5 years ago
Test name Executions per second
Underscore sortBy() 399668.6 Ops/sec
Vanilla sort() 1173907.0 Ops/sec
Vanilla CUSTOM sort method 3206442.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Underscore sortBy()

  • Vanilla sort()

  • Vanilla CUSTOM sort method


;