{"ScriptPreparationCode":"function randomString()\r\n{\r\n var text = \u0022\u0022;\r\n var possible = \u0022ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\u0022;\r\n\r\n for( var i=0; i \u003C 5; i\u002B\u002B )\r\n text \u002B= possible.charAt(Math.floor(Math.random() * possible.length));\r\n\r\n return text;\r\n}\r\n\r\nconst map = new Map();\r\nconst obj = {};\r\n\r\nconst map2 = new Map();\r\nconst obj2 = {};\r\n\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const key = randomString();\r\n const val = randomString();\r\n map2.set(key,val);\r\n obj2[key] = val;\r\n}\r\n","TestCases":[{"Name":"Map set","Code":"for (let i=0; i \u003C 1000; i\u002B\u002B) {\r\n const key = randomString();\r\n const val = randomString();\r\n map.set(key,val);\r\n}","IsDeferred":false},{"Name":"Object set","Code":"for (let i=0; i \u003C 1000; i\u002B\u002B) {\r\n const key = randomString();\r\n const val = randomString();\r\n obj[key] = val;\r\n}","IsDeferred":false},{"Name":"Map read","Code":"for (let key of map2.keys()) {\r\n const val = map2.get(key);\r\n}","IsDeferred":false},{"Name":"Object read","Code":"for (let key in obj2) {\r\n const val = obj2[key];\r\n}","IsDeferred":false}]}