Run details:
Mozilla/5.0 (Linux; Android 9; SHT-W09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 EdgA/99.0.1150.55
Chrome 99
Android
Desktop
2 years ago
Test name Executions per second
localeCompare() 48686.5 Ops/sec
Intl.Collator.compare() 957038.1 Ops/sec
Script Preparation code:
Tests:
  • localeCompare()

  • Intl.Collator.compare()


;