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() 8149285.0 Ops/sec
localeCompare() 3353505.0 Ops/sec
toLowerCase() FAIL 7392380.5 Ops/sec
localeCompare() FAIL 3481870.2 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL