array.join vs array.tostring

Benchmark created by Tilo on


Preparation HTML

<script>
  var arr = ["javascript", "crockford", "yui", "yuiconf"];
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
array.join
arr.join();
 
ready
array.toString
arr.toString()
ready

Revisions

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