Run details:
Mozilla/5.0 (Android 14; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0
Firefox Mobile 134
Android
Mobile
12 days ago
Test name Executions per second
text.includes() 399774304.0 Ops/sec
regex.test() 7228724.5 Ops/sec
string.match() 4712842.5 Ops/sec
string.indexOf() 393570304.0 Ops/sec
Script Preparation code:
Tests:
  • text.includes()

  • regex.test()

  • string.match()

  • string.indexOf()


;