Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
Safari 10
Mac OS X 10.12.3
Other
7 years ago
Test name Executions per second
substring 4657708.0 Ops/sec
regex 4542260.5 Ops/sec
Script Preparation code:
Tests:
  • substring

  • regex


;