{"ScriptPreparationCode":"var size = 0xFFFF;\r\nvar buf = new ArrayBuffer(size);\r\nvar view = new DataView(buf);\r\nvar byte = new Uint8Array(buf);\r\n\r\nvar data = new Uint8Array(size);\r\n\r\nfor (let i = 0; i \u003C size; i\u002B\u002B) {\r\n\tdata[i] = 100*Math.random();\r\n}\r\n\r\nwindow._data = data;\r\nwindow._buf = buf;\r\n","TestCases":[{"Name":"DataView","Code":"data[Date.now()%data.length] = 43;\r\nfor (let i; i \u003C size; i\u002B\u002B) {\r\n\tview.setUint8(i, data[i]);\r\n}","IsDeferred":false},{"Name":"Uint8Array by byte","Code":"data[Date.now()%data.length] = 43;\r\nfor (let i; i \u003C size; i\u002B\u002B) {\r\n\tbyte[i] = data[i];\r\n}","IsDeferred":false},{"Name":"Uint8Array with set","Code":"data[Date.now()%data.length] = 43;\r\nbyte.set(new Uint8Array(data.buffer, data.byteOffset, data.length));","IsDeferred":false}]}