join/concat (v46)

Revision 46 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
concat
var res = '',
    count = 10000;
while (count--) {
 res += 'a';
}
res.charCodeAt(5555);
ready
join
var res = new Array(10000);
for (var i = 0; i < 10000; i++) {
 res[i] = 'a';
}
res = res.join('');
res.charCodeAt(5555);
ready

Revisions

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