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 month ago)
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123 on Linux
View result in a separate tab
Test name Executions per second
text.includes() 1568333000.0 Ops/sec
text.test() 28498810.0 Ops/sec
text.match() 12492500.0 Ops/sec
text.indexOf() 1625003000.0 Ops/sec
text.search() 19803170.0 Ops/sec