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() 20961.4 Ops/sec
Intl.Collator.compare() 747256.6 Ops/sec
toLowerCase() 144806912.0 Ops/sec
Script Preparation code:
Tests:
  • localeCompare()

  • Intl.Collator.compare()

  • toLowerCase()