Push vs length (v29)

Revision 29 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
length
var myArray = [];
myArray[myArray.length] = 'foo';
myArray.length++;
ready
push
var myArray = [];
myArray.push('foo');
ready

Revisions

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