Test case name | Result |
---|---|
RegEx.test | |
String.includes | |
String.match | |
String.match with regex |
Test name | Executions per second |
---|---|
RegEx.test | 12527300.0 Ops/sec |
String.includes | 30034460.0 Ops/sec |
String.match | 7332568.0 Ops/sec |
String.match with regex | 8451095.0 Ops/sec |