Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/39.0 Mobile/15E148 Safari/605.1.15
Mobile Safari 12
iOS 12.0.1
Mobile
2 years ago
Test name Executions per second
RegExp#test 6860332.0 Ops/sec
String#indexOf 14146460.0 Ops/sec
String#match 4822257.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match