{"ScriptPreparationCode":"window.sampleSVG = \u0027\u003Csvg xmlns=\u0022http://www.w3.org/2000/svg\u0022 viewBox=\u00220 0 58 58\u0022\u003E\u003Cpath fill=\u0022#26b99a\u0022 d=\u0022M29 58L3 45V13l26 13z\u0022/\u003E\u003Cpath fill=\u0022#556080\u0022 d=\u0022M29 58l26-13V13L29 26z\u0022/\u003E\u003Cpath fill=\u0022#434c6d\u0022 d=\u0022M3 13L28 0l27 13-26 13z\u0022/\u003E\u003C/svg\u003E\u0027\r\nwindow.targetNode = document.getElementById(\u0022target\u0022)","TestCases":[{"Name":"innerHTML","Code":"let i = 1000\r\nlet wrap = document.createElement(\u0022DIV\u0022);\r\ndo {\r\n wrap.innerHTML = window.sampleSVG;\r\n let el = wrap.firstChild;\r\n wrap.removeChild(el);\r\n window.targetNode.appendChild(el);\r\n window.targetNode.children;\r\n window.targetNode.firstChild.remove()\r\n} while(--i)","IsDeferred":false},{"Name":"DOMParser in loop","Code":"let i = 1000\r\nlet parser = new DOMParser;\r\ndo {\r\n let svgNode = parser.parseFromString(window.sampleSVG, \u0022image/svg\u002Bxml\u0022).firstChild\r\n window.targetNode.appendChild(svgNode)\r\n window.targetNode.children;\r\n window.targetNode.firstChild.remove()\r\n} while(--i)","IsDeferred":false}]}