Run details:
Mozilla/5.0 (Linux; NetCast; U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36 SmartTV/10.0 Colt/2.0
Chrome 79
Linux
Desktop
10 months ago
Test name Executions per second
localeCompare() 15188.5 Ops/sec
Intl.Collator.compare() 297731.1 Ops/sec
Script Preparation code:
Tests:
  • localeCompare()

  • Intl.Collator.compare()