Run details:
Mozilla/5.0 (Linux; Android 13; IN2025) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
text.includes() 10138652.0 Ops/sec
text.test() 6080974.0 Ops/sec
text.match() 5149826.5 Ops/sec
text.indexOf() 10110875.0 Ops/sec
text.search() 2425009.2 Ops/sec
Script Preparation code:
Tests:
  • text.includes()

  • text.test()

  • text.match()

  • text.indexOf()

  • text.search()


;