Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36
Chrome 96
Windows
Desktop
2 years ago
Test name Executions per second
toLowerCase() 4652739.0 Ops/sec
localeCompare() 91473.3 Ops/sec
toLowerCase() FAIL 4294051.5 Ops/sec
localeCompare() FAIL 90422.7 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL


;