Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
setPrototypeOf to Proxy2
(version: 0)
Comparing performance of:
Setting prototype to proxy vs Temp
Created:
4 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
simpleRef = { isRef: true, value: "bob1" }; newProxy = new Proxy({ newStuff: "bob2" }, { get(target, key) { console.log(target, "key", key); } });
Tests:
Setting prototype to proxy
Object.setPrototypeOf(simpleRef, newProxy);
Temp
"";
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Setting prototype to proxy
Temp
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:
Proxy vs Object vs Object.setPrototypeOf
setPrototypeOf to Proxy
setPrototypeOf to Proxy3
Proxy JS Get Benchmark
Comments
Confirm delete:
Do you really want to delete benchmark?