{"ScriptPreparationCode":null,"TestCases":[{"Name":"Obj / Object.entries()","Code":"let obj = {};\r\nlet map = new Map();\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n let key = \u0060${i}\u0060.padStart(10, \u00270\u0027);\r\n let val = Math.random();\r\n \r\n map.set(key, { key, val });\r\n obj[key] = { key, val };\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n let k = Math.floor(10000 * Math.random());\r\n let key = \u0060${k}\u0060.padStart(10, \u00270\u0027);\r\n\r\n let val = map.get(key);\r\n}\r\n","IsDeferred":false},{"Name":"Map / spread","Code":"let obj = {};\r\nlet map = new Map();\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n let key = \u0060${i}\u0060.padStart(10, \u00270\u0027);\r\n let val = Math.random();\r\n \r\n map.set(key, { key, val });\r\n obj[key] = { key, val };\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n let k = Math.floor(10000 * Math.random());\r\n let key = \u0060${k}\u0060.padStart(10, \u00270\u0027);\r\n\r\n let val = obj[key];\r\n}\r\n","IsDeferred":false}]}