{"ScriptPreparationCode":"var max2 = 100000;\r\n\r\nvar data = [];\r\nfor (var i = 0; i \u003C= max2; i\u002B\u002B) { data.push({ id: i }); }\r\n\r\nconst getId = ({ id }) =\u003E id; ","TestCases":[{"Name":"New native groupBy","Code":"Object.groupBy(data, getId)","IsDeferred":false},{"Name":"Old native reduce","Code":"data.reduce((acc, item) =\u003E {\r\n \t\tconst id = getId(item);\r\n \t\tif (acc[id]) { acc[id].push(item) } else { acc[id] = [item] }\r\n return acc;\r\n}, {})","IsDeferred":false}]}