Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Ubuntu
Desktop
one year ago
Test name Executions per second
toLowerCase() 840848064.0 Ops/sec
localeCompare() 240429.3 Ops/sec
toLowerCase() FAIL 765705088.0 Ops/sec
localeCompare() FAIL 236143.7 Ops/sec
toLocaleLowerCase() 8400596.0 Ops/sec
toLocaleLowerCase() FAIL 9141166.0 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare()

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toLocaleLowerCase()

  • toLocaleLowerCase() FAIL