{"ScriptPreparationCode":"var N = 10000\r\n\r\nvar x1 = new Float32Array(N);\r\nvar x2 = new Float32Array(N);\r\nvar x3 = new Float32Array(N);\r\n\r\nvar AoS1 = [];\r\nvar AoS2 = [];\r\nvar AoS3 = [];\r\n\r\nfor (var i = 0; i \u003C N; \u002B\u002Bi) {\r\n\tx1[i] = Math.random();\r\n\tx2[i] = Math.random();\r\n\tx3[i] = Math.random();\r\n\tAoS1.push( {x:Math.random(), y:Math.random(), z:Math.random()} );\r\n\tAoS2.push( {x:Math.random(), y:Math.random(), z:Math.random()} );\r\n\tAoS3.push( {x:Math.random(), y:Math.random(), z:Math.random()} );\r\n}","TestCases":[{"Name":"SoA","Code":"for (var i = 0; i \u003C N; \u002B\u002Bi) {\r\n\tx3[i] = x1[i] \u002B x2[i];\r\n}","IsDeferred":false},{"Name":"AoS","Code":"for (var i = 0; i \u003C N; \u002B\u002Bi) {\r\n\tAoS3[i].x = AoS1[i].x \u002B AoS2[i].x;\r\n}","IsDeferred":false}]}