Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.57
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
toLowerCase() 15234081.0 Ops/sec
localeCompare() 278674.4 Ops/sec
toLowerCase() FAIL 13797859.0 Ops/sec
localeCompare() FAIL 289680.4 Ops/sec
toLocaleLowerCase() 13214151.0 Ops/sec
toLocaleLowerCase() FAIL 13173300.0 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL


;