add and remove (v19)

Revision 19 of this benchmark created on


Preparation HTML

<script>
  var r1 = [1,2,3,4,5,6];
  var r2 = [1,2,3,4,5,6];
  
  var e, a, v;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
push/pop
r1.push(9);
r1.pop();
ready
unshift/shift
r2.unshift(9)
r2.shift()
ready

Revisions

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