{"ScriptPreparationCode":"const data = Array.from(Array(10000).keys());","TestCases":[{"Name":"Object.fromEntries","Code":"data.map((idx) =\u003E [\u0060id-${idx}\u0060, idx]);","IsDeferred":false},{"Name":"Reduce (reuse object)","Code":"data.reduce((acc, idx) =\u003E {\r\n acc[\u0060id-${idx}\u0060] = idx;\r\n return acc;\r\n}, {});","IsDeferred":false},{"Name":"Reduce (creating temporary objects)","Code":"data.reduce((acc, idx) =\u003E ({\r\n ...acc,\r\n [\u0060id-${idx}\u0060]: idx\r\n}), {});","IsDeferred":false},{"Name":"For","Code":"const a = {}\r\n\r\nfor (let idx of data) {\r\n a[\u0060id-${idx}\u0060] = idx;\r\n}","IsDeferred":false}]}