Test case name | Result |
---|---|
"Hi this is a test, would you look at that".startsWith("bonjour") | |
"Hi this is a test, would you look at that".includes("bonjour") |
Test name | Executions per second |
---|---|
"Hi this is a test, would you look at that".startsWith("bonjour") | 166843536.0 Ops/sec |
"Hi this is a test, would you look at that".includes("bonjour") | 226867136.0 Ops/sec |