URI Parser

Benchmark created by Aaron on


Description

Check to see whats faster when parsing URI.

Preparation HTML

<script>
  var test = '#/user/1/update';
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
split
test.split("/");
ready
match
test.match(/(\w*)/);
ready

Revisions

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