Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Windows
Desktop
one year ago
Test name Executions per second
toLowerCase() 9123024.0 Ops/sec
localeCompare() 186976.8 Ops/sec
toLowerCase() FAIL 8438734.0 Ops/sec
localeCompare() FAIL 188688.4 Ops/sec
toLocaleLowerCase() 8388392.5 Ops/sec
toLocaleLowerCase() FAIL 8222586.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL