Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Firefox 55
Ubuntu
Other
7 years ago
Test name Executions per second
RegExp#test 8707454.0 Ops/sec
String#indexOf 42005060.0 Ops/sec
String#match 4116415.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match