concat vs + vs join (v44)

Revision 44 of this benchmark created by Igwe Kalu on


Test runner

Ready to run.

Testing in
TestOps/sec
concat
'Coucou '.concat('c\'est ', 'nous !');
ready
+
(function(first, second, third) {
  return first + second + third;
})('Coucou ', 'c\'est ', 'nous !');
ready
join
['Coucou ', 'c\'est ', 'nous !'].join();
ready

Revisions

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