{"ScriptPreparationCode":"var max2 = 1000000;\r\n\r\nvar data = [];\r\nfor (var i = 0; i \u003C= max2; i\u002B\u002B) { data.push({ id: i }); }","TestCases":[{"Name":"Lodash","Code":"_.groupBy(data, ({ id }) =\u003E id)","IsDeferred":false},{"Name":"Native","Code":"\r\nvar k = {};\r\nfor (var i = 0; i \u003C data.length; i\u002B\u002B) {\r\n\tif (k[data[i].id]) {\r\n \tk[data[i].id].push(data[i]);\r\n } else {\r\n \tk[data[i].id] = [data[i]];\r\n }\r\n}","IsDeferred":false}]}