Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Windows
Desktop
one year ago
Test name Executions per second
toLowerCase() 880577856.0 Ops/sec
Regex 6992747.0 Ops/sec
toLowerCase() FAIL 1006293888.0 Ops/sec
Regex FAIL 6632201.0 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • Regex

  • toLowerCase() FAIL

  • Regex FAIL