Run details:
Mozilla/5.0 (Linux; Android 13; M2101K9G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
localeCompare() 85968.3 Ops/sec
Intl.Collator.compare() 2308976.5 Ops/sec
Script Preparation code:
Tests:
  • localeCompare()

  • Intl.Collator.compare()


;