{"ScriptPreparationCode":"var test = Array.from({\r\n length: 100000\r\n}, () =\u003E Math.random())\r\n\r\nfunction chunk(array, size) {\r\n const result = [];\r\n for (let i = 0; i \u003C array.length; i \u002B= size) {\r\n result.push(array.slice(i, i \u002B size));\r\n }\r\n return result;\r\n}","TestCases":[{"Name":"Lodash Chunk","Code":"_.chunk(test,5000)","IsDeferred":false},{"Name":"Native Chunk With Slice","Code":"chunk(test,5000)","IsDeferred":false}]}