{"ScriptPreparationCode":"var max2 = 100000;\r\n\r\nvar data = [];\r\nfor (var i = 0; i \u003C= max2; i\u002B\u002B) { data.push({ id: i, a: 2, b: \u0022test\u0022 }); }","TestCases":[{"Name":"Lodash","Code":"_.groupBy(data, \u0022id\u0022)","IsDeferred":false},{"Name":"Native","Code":" const mapN = new Map();\r\n data.forEach((d) =\u003E {\r\n const id = d.id;\r\n if (!mapN.has(id)) {\r\n mapN.set(id, []);\r\n }\r\n mapN.get(id).push(d);\r\n });","IsDeferred":false}]}