Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
ruse js object vs array
(version: 0)
Comparing performance of:
object vs array
Created:
6 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
object
Script Preparation code:
var obj = {hello: "world"}; var arr = ["world"];
Tests:
object
obj.hello === "world"
array
arr[0] === "world"
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
object
array
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!
Related benchmarks:
Array.prototype.push vs Array.prototype.push.apply
Array.prototype.push vs Array.prototype.push.apply1
Array.prototype.push vs Array.prototype.push.apply2
Array isArray vs Object.prototype
Comments
Confirm delete:
Do you really want to delete benchmark?