Push vs length (v25)

Revision 25 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
length
var myArray = [100,101,102,103,104,105];
myArray[myArray.length] = 'foo';
ready
push
var myArray = [100,101,102,103,104,105];
myArray.push('foo');
ready

Revisions

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