Run details:
Mozilla/5.0 (Android 15; Mobile; rv:137.0) Gecko/137.0 Firefox/137.0
Firefox Mobile 137
Android
Mobile
24 days ago
Test name Executions per second
text.includes() 1414554112.0 Ops/sec
regex.test() 18835012.0 Ops/sec
string.match() 12712780.0 Ops/sec
string.indexOf() 1407533440.0 Ops/sec
Script Preparation code:
Tests:
  • text.includes()

  • regex.test()

  • string.match()

  • string.indexOf()