{"ScriptPreparationCode":null,"TestCases":[{"Name":"JSON serialization","Code":"const arr = Array.from({ length: 5000000 }).map(() =\u003E Math.random());\r\n\r\nconst serialized = JSON.stringify(arr);\r\nconst deserialized = JSON.parse(serialized);\r\ndeserialized.map(x =\u003E 0.0);\r\nconst serializedAgain = JSON.stringify(deserialized);","IsDeferred":false},{"Name":"ArrayBuffer serialization","Code":"const arr = Array.from({ length: 5000000 }).map(() =\u003E Math.random());\r\n\r\nconst buffer = new ArrayBuffer(arr.length * 4);\r\nconst view = new Float32Array(buffer, 0, 4);\r\nview.map((_, idx) =\u003E arr[idx]);\r\nview.map(() =\u003E 0.0);\r\nconst view2 = new Float32Array(buffer, 0, 4);\r\n","IsDeferred":false}]}