{"ScriptPreparationCode":"var test = Array.from({\r\n length: 1000000\r\n}, () =\u003E Math.random())\r\n\r\nfunction chunkSlice(raw, chunkSize) {\r\n const groups = [];\r\n let i = 0;\r\n while (i \u003C raw.length) {\r\n groups.push(raw.slice(i, (i \u002B= chunkSize)));\r\n }\r\n return groups;\r\n}\r\n","TestCases":[{"Name":"Chunk by slice","Code":"chunkSlice(0,500)","IsDeferred":false},{"Name":"lodash chunk","Code":"_.chunk(test,500)","IsDeferred":false}]}