Test case name | Result |
---|---|
[MATCH] check str[i] before startsWith | |
[MATCH] startsWith immediatly | |
[NOT MATCH] check str[i] before startsWith | |
[NOT MATCH] startsWith immediatly |
Test name | Executions per second |
---|---|
[MATCH] check str[i] before startsWith | 50734710.0 Ops/sec |
[MATCH] startsWith immediatly | 50918310.0 Ops/sec |
[NOT MATCH] check str[i] before startsWith | 1400821000.0 Ops/sec |
[NOT MATCH] startsWith immediatly | 52352710.0 Ops/sec |