{"ScriptPreparationCode":"var arr = Array(10_000_000).fill({entities:[1,2]})","TestCases":[{"Name":"reduce with push","Code":"arr.reduce((acc, { entities }) =\u003E {\r\n const newE = entities.map((x) =\u003E x);\r\n acc.push(...newE);\r\n return acc;\r\n}, []);\r\n","IsDeferred":false},{"Name":"flatMap","Code":"arr.flatMap(({ entities }) =\u003E entities.map((x) =\u003E x));","IsDeferred":false},{"Name":"reduce with concat","Code":"arr.reduce((acc, { entities }) =\u003E {\r\n const newE = entities.map((x) =\u003E x);\r\n acc.concat(newE);\r\n return acc;\r\n}, []);\r\n","IsDeferred":false}]}