Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Mac OS X 10.15
Desktop
9 months ago
Test name Executions per second
.indexOf 4735697.0 Ops/sec
includes 4426184.0 Ops/sec
regex case sensi 3868883.2 Ops/sec
regex case insensi 17094734.0 Ops/sec
Script Preparation code:
Tests:
  • .indexOf

  • includes

  • regex case sensi

  • regex case insensi


;