Run details:
Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.192 Mobile Safari/537.36 OPR/74.1.3922.71199
Opera Mobile 74
Android
Mobile
one year ago
Test name Executions per second
unsorted sorting via indexOf lookup 752.0 Ops/sec
map then sort 14562.0 Ops/sec
Script Preparation code:
Tests:
  • unsorted sorting via indexOf lookup

  • map then sort


;