{"ScriptPreparationCode":"var data = new Array(1000000);\r\n\r\nfor (var i = 0; i \u003C data.length; i\u002B\u002B) {\r\n data[i] = i % 2 === 0 ? i : i \u002B 0.5;\r\n}\r\nvar f32 = new Float32Array(data);","TestCases":[{"Name":"subarray direct","Code":"var copy = f32.subarray(0, 500000);","IsDeferred":false},{"Name":"slice direct","Code":"var copy = f32.slice(0, 500000);","IsDeferred":false},{"Name":"subarray copy","Code":"var copy = new Float32Array(f32.subarray(0, 500000));","IsDeferred":false},{"Name":"slice copy","Code":"var copy = new Float32Array(f32.slice(0, 500000));","IsDeferred":false},{"Name":"subarray set","Code":"var copy = new Float32Array(1000000).set(f32.subarray(0, 500000));","IsDeferred":false},{"Name":"slice set","Code":"var copy = new Float32Array(1000000).set(f32.slice(0, 500000));","IsDeferred":false}]}