{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n}","TestCases":[{"Name":"Test 1","Code":"/*When writing async/deferred tests, use \u0060deferred.resolve()\u0060 to mark test as done*/\r\nconst arr = new Array(10000).fill(0).map(_ =\u003E Math.random())\r\nconst typed = Float64Array.from(arr)\r\nconst windowSize = 5000;\r\n\r\nlet sums = [];\r\nfor(let start = 0; windowSize \u002B start \u003C arr.length; start\u002B\u002B) {\r\n const window = typed.subarray(start, windowSize\u002Bstart)\r\n sums.push(window[100])\r\n}","IsDeferred":false},{"Name":"Test 2","Code":"const arr = new Array(10000).fill(0).map(_ =\u003E Math.random())\r\nconst windowSize = 5000;\r\n\r\nlet sums = [];\r\nfor(let start = 0; windowSize \u002B start \u003C arr.length; start\u002B\u002B) {\r\n const window = arr.slice(start, windowSize \u002B start)\r\n sums.push(window[100])\r\n}","IsDeferred":false}]}