{"ScriptPreparationCode":"var total = 10000;\r\nvar ids = Array.from(Array(total).keys());\r\nvar data = ids.map(id =\u003E ({ id, foo: \u0027bar\u0027, name: \u0027John\u0027 })); ","TestCases":[{"Name":"Object.fromEntries","Code":"Object.fromEntries(data.map(({ id, ...others }) =\u003E [id, { ...others, v: 1, works: true }]))","IsDeferred":false},{"Name":"reduce","Code":"data.reduce((acc, { id, ...others }) =\u003E {\r\n acc[id] = { ...others, v: 1, works: true };\r\n return acc;\r\n}, {});","IsDeferred":false}]}