Script Preparation code:
Tests:
  • text.includes()

  • text.test()

  • text.match()

  • text.indexOf()

  • text.search()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    text.includes()
    text.test()
    text.match()
    text.indexOf()
    text.search()

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
text.includes() 47976690.0 Ops/sec
text.test() 29817850.0 Ops/sec
text.match() 23478080.0 Ops/sec
text.indexOf() 1489415000.0 Ops/sec
text.search() 24071090.0 Ops/sec