Script Preparation code:
Tests:
  • search

  • indexOf

  • includes

  • test

  • match

  • boyerMooreHorspool

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    search
    indexOf
    includes
    test
    match
    boyerMooreHorspool

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90 on Windows
View result in a separate tab
Test name Executions per second
search 19366510.0 Ops/sec
indexOf 28164812.0 Ops/sec
includes 33621404.0 Ops/sec
test 31357010.0 Ops/sec
match 21253012.0 Ops/sec
boyerMooreHorspool 6134089.5 Ops/sec


;