{"ScriptPreparationCode":"var total = 1000000;\r\nvar data = [];\r\nfor (var i = 0; i \u003C total; i\u002B\u002B) {\r\n data.push({\r\n transaction_type: !!(i % 2) ? \u0027allocation\u0027 : \u0027deallocation\u0027\r\n });\r\n}","TestCases":[{"Name":"Native ES6 filter","Code":"data.filter((entry) =\u003E entry.transaction_type === \u0027allocation\u0027);","IsDeferred":false},{"Name":"Lodash filter","Code":"_.filter(data, [\u0027transaction_type\u0027, \u0027allocation\u0027]);","IsDeferred":false}]}