Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
23 days ago
Test name Executions per second
toLowerCase() 51982532.0 Ops/sec
localeCompare() 169869.8 Ops/sec
toLowerCase() FAIL 35191156.0 Ops/sec
localeCompare() FAIL 168109.3 Ops/sec
toLocaleLowerCase() 32037052.0 Ops/sec
toLocaleLowerCase() FAIL 30039782.0 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL