Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
unshift vs pop,push(2)
(version: 1)
Comparing performance of:
unshift vs pop,push
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
var arr = []
Tests:
unshift
arr.unshift(42)
pop,push
var a = arr.pop();arr.push();if(a!=null)arr.push(a)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
unshift
pop,push
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?