Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
StructuredClone vs JSON parse
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Browser:
Firefox 124
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
JSON
119262.3 Ops/sec
struc
93155.6 Ops/sec
Script Preparation code:
window.testObject = { "clientId": "d4c91d9e-968f-4aac-861a-96d6f00ef182", "name": "foundry/query-post-template", "isValid": true, "originalContent": "", "validationIssues": [], "attributes": { "useFeaturedImageAsBackground": 0, "useOverlay": 0, "overlayOpacity": 5, "postWidth": { "all": 4, "md": 6, "sm": 12 }, "gutter": 1, "justify": { "all": "center" }, "align": { "all": "stretch", "sm": "start" }, "postPadding": { "all": { "t": 5, "l": 3, "r": 3, "b": 3 } }, "background": { "color": "", "images": false }, "innerJustify": { "all": "center" }, "innerAlign": { "all": "stretch", "sm": "start" }, "boxShadow": "fcp64f75f34cf18b", "fndryBlockId": "fndry-block-6616b81d8d606" }, "innerBlocks": [ { "clientId": "e9a0cbde-fc5b-43d6-bb12-7822e4b8daa1", "name": "foundry/post-title", "isValid": true, "originalContent": "", "validationIssues": [], "attributes": { "level": 3, "isLink": false, "rel": "", "linkTarget": "_self", "fndryBlockId": "fndry-block-6616b81e8d60d" }, "innerBlocks": [] }, { "clientId": "82782445-d9d0-4a7d-b724-272ca9b76eb7", "name": "foundry/post-date", "isValid": true, "originalContent": "", "validationIssues": [], "attributes": { "fndryBlockId": "fndry-block-6616b81e8d60e" }, "innerBlocks": [] }, { "clientId": "1a4197f7-47c0-4f10-bb90-7890baa03f5c", "name": "foundry/button", "isValid": true, "originalContent": "", "validationIssues": [], "attributes": { "newTab": false, "noreferrer": false, "noopener": false, "margin": { "all": { "t": "auto" } }, "minWidth": 200, "minHeight": 60, "fndryBlockId": "fndry-block-6616b81e8d60f" }, "innerBlocks": [] } ] }
Tests:
JSON
JSON.parse(JSON.stringify(testObject));
struc
structuredClone(testObject)