Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4
Safari 9
Mac OS X 10.11.3
Other
8 years ago
Test name Executions per second
indexOf 6963592.5 Ops/sec
match 4897869.5 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • match