HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    RegExp#test
    String#indexOf
    String#match

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64) Opera 12.18
Opera 12 on Windows 7
View result in a separate tab
Test name Executions per second
RegExp#test 9802325.0 Ops/sec
String#indexOf 12346320.0 Ops/sec
String#match 1267439.0 Ops/sec