Empty array (v100)

Revision 100 of this benchmark created on


Setup

var arr = new Uint16Array(1024 * 1024 * 1);

Test runner

Ready to run.

Testing in
TestOps/sec
length
arr.length = 0;
ready
arr = null
arr = null;
ready
delete arr
delete arr;
ready
while
while (arr.length > 0) {
  arr.pop();
}
ready

Revisions

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