indexOf with and without fromIndex (v157)

Revision 157 of this benchmark created by Matt on


Preparation HTML

<script>
  var str = "hello world!";
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Without fromIndex
str.indexOf("world");
ready
with fromIndex
str.indexOf("world", 0);
ready

Revisions

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