array.join vs array.tostring (v2)

Revision 2 of this benchmark created 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.