Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Linux
Desktop
2 years ago
Test name Executions per second
sort object with orderBy, ascending 392120.6 Ops/sec
sort object with sortBy, ascending 357182.8 Ops/sec
sort object with native sort, ascending 1302498.1 Ops/sec
sort object with orderBy, descending 375840.2 Ops/sec
sort object with native sort, descending 2729181.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • sort object with orderBy, ascending

  • sort object with sortBy, ascending

  • sort object with native sort, ascending

  • sort object with orderBy, descending

  • sort object with native sort, descending


;