Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Linux
Desktop
6 months ago
Test name Executions per second
toLowerCase() 5667338.5 Ops/sec
localeCompare() 121366.6 Ops/sec
toLowerCase() FAIL 5049618.5 Ops/sec
localeCompare() FAIL 126593.6 Ops/sec
toLocaleLowerCase() 5040046.0 Ops/sec
toLocaleLowerCase() FAIL 4918863.0 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL


;