toString() vs join() (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script>
  var array = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'height', 'nine', 'ten'];
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
toString()
var string = array.toString();
ready
join()
var string =  array.join();
ready

Revisions

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