{"ScriptPreparationCode":null,"TestCases":[{"Name":"Pure JavaScript","Code":"var c = document.createDocumentFragment();\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n var e = document.createElement(\u0022input\u0022);\r\n e.className = \u0022test-div\u0022;\r\n \te.name = \u0022test-div-name\u0022;\r\n \te.type = \u0022radio\u0022;\r\n \te.value = \u0022test\u0022;\r\n c.appendChild(e);\r\n}\r\nvar elem = document.getElementById(\u0022test\u0022);\r\nelem.appendChild(c);","IsDeferred":false},{"Name":"Strings / append","Code":"var s = \u0022\u0022;\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n s \u002B= \u0022\u003Cinput class=\u0027test-div\u0027 name=\u0027test-div-name\u0027 type=\u0027radio\u0027 value=\u0027test\u0027/\u003E\u0022;\r\n}\r\n$(\u0022#test\u0022).append(s);","IsDeferred":false},{"Name":"Strings array / append","Code":"var a = [];\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n a.push(\u0022\u003Cinput class=\u0027test-div\u0027 name=\u0027test-div-name\u0027 type=\u0027radio\u0027 value=\u0027test\u0027/\u003E\u0022);\r\n}\r\n$(\u0022#test\u0022).append(a.join(\u0022\u0022));","IsDeferred":false},{"Name":"Strings / innerHTML","Code":"var s = \u0022\u0022;\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n s \u002B= \u0022\u003Cinput class=\u0027test-div\u0027 name=\u0027test-div-name\u0027 type=\u0027radio\u0027 value=\u0027test\u0027/\u003E\u0022;\r\n}\r\nvar elem = document.getElementById(\u0022test\u0022);\r\nelem.innerHTML = s;","IsDeferred":false},{"Name":"Strings array / innerHTML","Code":"var a = [];\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n a.push(\u0022\u003Cinput class=\u0027test-div\u0027 name=\u0027test-div-name\u0027 type=\u0027radio\u0027 value=\u0027test\u0027/\u003E\u0022);\r\n}\r\nvar elem = document.getElementById(\u0022test\u0022);\r\nelem.innerHTML = a.join(\u0022\u0022);","IsDeferred":false},{"Name":"Strings / html","Code":"var s = \u0022\u0022;\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n s \u002B= \u0022\u003Cinput class=\u0027test-div\u0027 name=\u0027test-div-name\u0027 type=\u0027radio\u0027 value=\u0027test\u0027/\u003E\u0022;\r\n}\r\n$(\u0022#test\u0022).html(s);","IsDeferred":false},{"Name":"Strings array / html","Code":"var a = [];\r\nfor (var i=0; i\u003C10; i\u002B\u002B) {\r\n a.push(\u0022\u003Cinput class=\u0027test-div\u0027 name=\u0027test-div-name\u0027 type=\u0027radio\u0027 value=\u0027test\u0027/\u003E\u0022);\r\n}\r\n$(\u0022#test\u0022).html(a.join(\u0022\u0022));","IsDeferred":false}]}