Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Linux
Desktop
one year ago
Test name Executions per second
toLowerCase() 8943379.0 Ops/sec
localeCompare() 163964.5 Ops/sec
toLowerCase() FAIL 8071800.5 Ops/sec
localeCompare() FAIL 162979.0 Ops/sec
toLocaleLowerCase() 7720899.5 Ops/sec
toLocaleLowerCase() FAIL 7713455.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL