{"ScriptPreparationCode":"var values = new Array(200 * 200 * 4)","TestCases":[{"Name":"lodash","Code":"var chunks = _.chunk(values, 4)","IsDeferred":false},{"Name":"native","Code":"const chunkfunction = (arr, chunkSize = 1, cache = []) =\u003E {\r\n const tmp = [...arr]\r\n if (chunkSize \u003C= 0) return cache\r\n while (tmp.length) cache.push(tmp.splice(0, chunkSize))\r\n return cache\r\n}\r\n\r\nvar chunks = chunkfunction(values, 4)","IsDeferred":false}]}