Test case name | Result |
---|---|
startWith native | |
indexof | |
lastIndexOf | |
regex | |
substr |
Test name | Executions per second |
---|---|
startWith native | 1787426.0 Ops/sec |
indexof | 1217303.0 Ops/sec |
lastIndexOf | 1575813.0 Ops/sec |
regex | 1694450.0 Ops/sec |
substr | 1352718.0 Ops/sec |