concat vs + vs join (v39)

Revision 39 of this benchmark created by Bergi on


Preparation HTML

var arr = ['Coucou ', 'c\'est ', 'nous !'];

Test runner

Ready to run.

Testing in
TestOps/sec
+
arr[0] + arr[1] + arr[2];
ready
join
arr.join();
ready
concat
'''.concat.apply('', arr);
ready

Revisions

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