Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Firefox 45
Ubuntu
Other
8 years ago
Test name Executions per second
RegExp#test 33590552.0 Ops/sec
String#indexOf 37863572.0 Ops/sec
String#match 3359825.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match