Test case name | Result |
---|---|
text.includes() | |
text.test() | |
text.match() | |
text.indexOf() | |
text.search() |
Test name | Executions per second |
---|---|
text.includes() | 47976690.0 Ops/sec |
text.test() | 29817850.0 Ops/sec |
text.match() | 23478080.0 Ops/sec |
text.indexOf() | 1489415000.0 Ops/sec |
text.search() | 24071090.0 Ops/sec |