Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36
Chrome Mobile 121
Android
Mobile
10 months ago
Test name Executions per second
toLowerCase() 3346876.2 Ops/sec
localeCompare() 47276.4 Ops/sec
toLowerCase() FAIL 3042506.0 Ops/sec
localeCompare() FAIL 46128.7 Ops/sec
toLocaleLowerCase() 3040176.0 Ops/sec
toLocaleLowerCase() FAIL 2969701.5 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL