Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
2 months ago
Test name Executions per second
toLowerCase() 5269168.0 Ops/sec
localeCompare() 92876.7 Ops/sec
toLowerCase() FAIL 5022051.0 Ops/sec
localeCompare() FAIL 92622.5 Ops/sec
toLocaleLowerCase() 4926713.0 Ops/sec
toLocaleLowerCase() FAIL 4841154.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL