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 724179840.0 Ops/sec
includes 4981207.0 Ops/sec
regex case sensi 4521251.5 Ops/sec
regex case insensi 15771073.0 Ops/sec
Script Preparation code:
Tests:
  • .indexOf

  • includes

  • regex case sensi

  • regex case insensi


;