Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
JSON.stringify vs cloneNode 2
(version: 1)
JSON.stringify vs cloneNode 2
Comparing performance of:
JSON.stringify vs cloneNode
Created:
2 years ago
by:
Registered User
Jump to the latest result
Tests:
JSON.stringify
const dv = document.createElement("div"); myCopy = JSON.parse(JSON.stringify(dv));
cloneNode
const dv = document.createElement("div"); myCopy = dv.cloneNode(true)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
JSON.stringify
cloneNode
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?