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

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() 47976688.0 Ops/sec
text.test() 29817848.0 Ops/sec
text.match() 23478078.0 Ops/sec
text.indexOf() 1489414912.0 Ops/sec
text.search() 24071088.0 Ops/sec