Run details:
Mozilla/5.0 (Linux; Android 12; AC2003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
localeCompare 43.4 Ops/sec
lodash order 47.2 Ops/sec
sort comparator 88.8 Ops/sec
local compare with language code 25.5 Ops/sec
compare with collator 140.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • localeCompare

  • lodash order

  • sort comparator

  • local compare with language code

  • compare with collator