string concat vs array join (v41)

Revision 41 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Concat
var text;
for(var i = 1; i < 10000; ++i)
{
    text = i + ' ' + i;
}
ready
Join
var text;
for(var i = 1; i < 10000; ++i)
{
    text = [i, i].join(" ");
}
ready

Revisions

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