Run details:
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64) Opera 12.18
Opera 12
Windows 7
Desktop
3 years ago
Test name Executions per second
RegExp#test 9802325.0 Ops/sec
String#indexOf 12346320.0 Ops/sec
String#match 1267439.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match