{"ScriptPreparationCode":"// var underscore = _.noConflict();\r\n\r\nvar max2 = 100000;\r\n\r\nvar data = [];\r\nfor (var i = 0; i \u003C= max2; i\u002B\u002B) { data.push({ id: i, name: \u0027Bob\u0027 }); }\r\n\r\nfunction testFn (el){\r\n\treturn el.id\r\n}\r\n\r\n","TestCases":[{"Name":"Ramda","Code":"R.groupBy(el =\u003E el.id, data)","IsDeferred":false},{"Name":"Reduce","Code":"data.reduce(\r\n (previousValue, currentValue, currentIndex, array, k = testFn(currentValue)) =\u003E (\r\n (previousValue[k] || (previousValue[k] = [])).push(currentValue),\r\n previousValue\r\n ),\r\n {},\r\n );","IsDeferred":false},{"Name":"Underscore","Code":"_.groupBy(data, ({ id }) =\u003E id)","IsDeferred":false}]}