Test case name | Result |
---|---|
lastIndexOf (near end) | |
indexOf (near end) | |
lastIndexOf (near head) | |
indexOf (near head) |
Test name | Executions per second |
---|---|
lastIndexOf (near end) | 2531560.0 Ops/sec |
indexOf (near end) | 87787.9 Ops/sec |
lastIndexOf (near head) | 100053.9 Ops/sec |
indexOf (near head) | 1508575.0 Ops/sec |