Script Preparation code:
x
 
var array = [];
for(var i = 0; i < 100000; i++){array.push(Math.random());}
Tests:
  • pop

     
    array.pop();
  • length

     
    array[array.length - 1]
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    pop
    length

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
Chrome 55 on Mac OS X 10.12.2
View result in a separate tab
Test name Executions per second
pop 8136473.5 Ops/sec
length 2815832.0 Ops/sec