concat vs push.apply (v32)

Revision 32 of this benchmark created on


Preparation HTML

<script>
  var A = Array.apply(this, Array(1));
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
concat
A = A.concat(1)
ready
push.apply
A.push.apply(A, [1])
ready

Revisions

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