Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Proxy JS Get Benchmark Multiple InheritanceFix45
(version: 0)
Comparing performance of:
o1 vs o2 vs Proxy
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
function multiInherit (p1,p2) { return Object.create(new Proxy(Object.create(null), { get (target, prop, receiver) { return p1[prop] || p2[prop] } })); } var o1 = {value:1} var o2 = {value2:2} var obj = multiInherit(o1, o2);
Tests:
o1
o1.value;
o2
o2.value
Proxy
obj.value2
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
o1
o2
Proxy
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?