Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Linux
Desktop
2 years ago
Test name Executions per second
toLowerCase() 8103169.5 Ops/sec
localeCompare() 200047.4 Ops/sec
toLowerCase() FAIL 7417147.5 Ops/sec
localeCompare() FAIL 204212.1 Ops/sec
toLocaleLowerCase() 2399724.5 Ops/sec
toLocaleLowerCase() FAIL 2468870.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL