{"ScriptPreparationCode":"var max2 = 100000;\r\n\r\nvar data = [];\r\nvar keys = new Array(max2).map((item, index) =\u003E index);\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":"data.reduce((acc, item) =\u003E {\r\n acc[item.id] = item;\r\n return acc;\r\n}, {})","IsDeferred":false},{"Name":"Prebuilt keys","Code":"keys.map((key) =\u003E {\r\n return data.filter((item) =\u003E item.id);\r\n});","IsDeferred":false}]}