concat/join-with-push/join-without-push (v96)

Revision 96 of this benchmark created on


Teardown


    for (var res = [], i = 0; i < 10000; i++) {
     res.push('a');
    }
  

Test runner

Ready to run.

Testing in
TestOps/sec
concat
for (var res = '', i = 0; i < 10000; i++) {
 res += 'a';
}
ready
join-with-push

res = res.join('');
ready
join-without-push

res = res.join('');
ready

Revisions

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