Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Linux
Desktop
one year ago
Test name Executions per second
toLowerCase() 8165419.5 Ops/sec
localeCompare() 211171.9 Ops/sec
toLowerCase() FAIL 7771197.0 Ops/sec
localeCompare() FAIL 210878.4 Ops/sec
toLocaleLowerCase() 3403357.0 Ops/sec
toLocaleLowerCase() FAIL 3488865.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL