Tests (v2)

Revision 2 of this benchmark created on


Preparation HTML

<p>Hello</p>		

Setup

const str = "nasd.n.kasdksk";

Test runner

Ready to run.

Testing in
TestOps/sec
indexOf
// Hello
let result = str.indexOf('hello');
ready
regex.test
// Hello
let result = /hello/.test(str);
ready

Revisions

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