Run details:
Mozilla/5.0 (Android 9; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Firefox Mobile 119
Android
Mobile
one year ago
Test name Executions per second
localeCompare() 32892.9 Ops/sec
Intl.Collator.compare() 1491859.5 Ops/sec
toLowerCase() 145257120.0 Ops/sec
Script Preparation code:
Tests:
  • localeCompare()

  • Intl.Collator.compare()

  • toLowerCase()