call vs apply (v17)

Revision 17 of this benchmark created on


Setup

var col = [];

Test runner

Ready to run.

Testing in
TestOps/sec
~~
for (var c = 999; c >= 0; c--) {
  col[c] = c;
};
ready
MAth
for (var c = 999; c >= 0; c--) {
  col.push(c);
};
ready

Revisions

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