Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Windows
Desktop
2 years ago
Test name Executions per second
toLowerCase() 7223882.5 Ops/sec
localeCompare() 162820.7 Ops/sec
toLowerCase() FAIL 6431932.0 Ops/sec
localeCompare() FAIL 160920.5 Ops/sec
toLocaleLowerCase() 3081168.2 Ops/sec
toLocaleLowerCase() FAIL 3077599.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL


;