{"ScriptPreparationCode":"var ns = [1000, 10000, 100000];\r\nvar results = Array(ns.length); // 1.000 -\u003E 10.000 -\u003E 100.000 -\u003E 1.000.000 -\u003E 10.000.000\r\nns.forEach((n, i) =\u003E {\r\n results[i] = [...Array(n).keys()].reduce((acc, c) =\u003E {\r\n acc[\u0027k_\u0027 \u002B String(c).padStart(10, \u00270\u0027)] = Math.random();\r\n return acc;\r\n }, {});\r\n});\r\nlet sum = 0;","TestCases":[{"Name":"N: 1000 Object.entries","Code":"sum = 0; Object.entries(results[0]).forEach(([k, v]) =\u003E sum \u002B= results[0][k]);","IsDeferred":false},{"Name":"N: 10000 Object.entries","Code":"sum = 0; Object.entries(results[1]).forEach(([k, v]) =\u003E sum \u002B= results[1][k]);","IsDeferred":false},{"Name":"N: 1000 For In","Code":"sum = 0; for (const k in results[0]) { sum \u002B= results[0][k] }","IsDeferred":false},{"Name":"N: 10000 For In","Code":"sum = 0; for (const k in results[1]) { sum \u002B= results[1][k] }","IsDeferred":false},{"Name":"N: 100000 Object.entries","Code":"sum = 0; Object.entries(results[2]).forEach(([k, v]) =\u003E sum \u002B= results[2][k]);","IsDeferred":false},{"Name":"N: 100000 For In","Code":"sum = 0; for (const k in results[2]) { sum \u002B= results[2][k] }","IsDeferred":false}]}