startsWith stub indexOf vs regex (v3)

Revision 3 of this benchmark created by Pavel on


Test runner

Ready to run.

Testing in
TestOps/sec
.indexOf
'R:EUR='.indexOf('R:') === 0;
ready
//.test
/^R:/.test('R:EUR=');
ready

Revisions

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