Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115
Windows
Desktop
one year ago
Test name Executions per second
toLowerCase() 6393074.5 Ops/sec
localeCompare() 144959.8 Ops/sec
toLowerCase() FAIL 5872513.0 Ops/sec
localeCompare() FAIL 139132.6 Ops/sec
toLocaleLowerCase() 4951878.0 Ops/sec
toLocaleLowerCase() FAIL 5761781.0 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL


;