concat vs + vs join (v49)

Revision 49 of this benchmark created on


Description

How to concat strings faster.

Test runner

Ready to run.

Testing in
TestOps/sec
concat
'Coucou '.concat('c\'est ');
ready
+
'Coucou ' + 'c\'est ';
ready
join
['Coucou ', 'c\'est '].join();
ready

Revisions

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