Run details:
Mozilla/5.0 (Linux; U; Android 11; zh-cn; Redmi K20 Pro Build/RKQ1.200826.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/15.9.18 swan-mibrowser
Chrome Mobile 89
Android
Mobile
2 years ago
Test name Executions per second
toLowerCase() 4591639.5 Ops/sec
localeCompare() 83550.8 Ops/sec
toLowerCase() FAIL 4170780.0 Ops/sec
localeCompare() FAIL 83463.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL


;