Gift String

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
indexOf
var name = "Gift: Butt Workout";
name.indexOf('Gift') > -1;
ready
Regex
var name = "Gift: Butt Workout";
/^Gift/.test(name);
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.