concat vs + vs join (v34)

Revision 34 of this benchmark created by Denise on


Test runner

Ready to run.

Testing in
TestOps/sec
concat
'Coucou '.concat('c\'est ', 'nous !');
ready
+
'Coucou ' + 'c\'est ' + 'nous !';
ready
join
['Coucou ', 'c\'est ', 'nous !'].join();
ready
Piecewise +=
var result = 'Concou ';
result += 'c\'est ';
result += 'nous !';
ready

Revisions

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