Test case name | Result |
---|---|
RegEx.test | |
String.includes | |
String.match | |
String.indexOf |
Test name | Executions per second |
---|---|
RegEx.test | 1909598.0 Ops/sec |
String.includes | 15979290.0 Ops/sec |
String.match | 1552450.0 Ops/sec |
String.indexOf | 15514100.0 Ops/sec |