{"ScriptPreparationCode":"var test = Array.from({\r\n length: 100000\r\n}, () =\u003E Math.random());\r\n\r\nvar chunk = function(arr, chunkSize) {\r\n const res = [];\r\n for (let i = 0; i \u003C arr.length; i \u002B= chunkSize) {\r\n const chunk = arr.slice(i, i \u002B chunkSize);\r\n res.push(chunk);\r\n }\r\n return res;\r\n}","TestCases":[{"Name":"Native slice","Code":"chunk(test,5000)","IsDeferred":false},{"Name":"lodash chunk","Code":"_.chunk(test,5000)","IsDeferred":false}]}