Test case name | Result |
---|---|
text.includes() | |
text.test() | |
text.match() | |
text.indexOf() | |
text.search() |
Test name | Executions per second |
---|---|
text.includes() | 1568333000.0 Ops/sec |
text.test() | 28498810.0 Ops/sec |
text.match() | 12492500.0 Ops/sec |
text.indexOf() | 1625003000.0 Ops/sec |
text.search() | 19803170.0 Ops/sec |