Empty array (v236)

Revision 236 of this benchmark created on


Setup

var arr = [0,1,2,3,4,5,6,7,8,9,10,123,123,123,123,123,123,13,123,2,2,1,2,3,1,2,3,12,31,23,123,2,12,31,23,1,2,3,2,1,2,3,1,2,3,1,2,3,1,2,2,3,14,1,3,2,1,3,2,1,3,3,3,2,2,2,2,2,1,2,3,2,1,2,3,1,2,3];

Test runner

Ready to run.

Testing in
TestOps/sec
arr = []
arr = [];
ready
arr = null
arr = null;
ready
delete arr
delete arr;
ready
length
arr.length = 0;
ready

Revisions

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