{"ScriptPreparationCode":"var map = new Map();\r\nvar obj = {};\r\n\r\nmap.set(\u0027a\u0027, 5);\r\nobj[\u0027a\u0027] = 5;\r\n\r\nvar numberOfEntries = 100000\r\n\r\n \r\n\r\nlet i = 0;\r\nvar count = 1000;\r\nvar a;","TestCases":[{"Name":"map-insert","Code":"\r\nfor (let j = 0; j \u003C numberOfEntries; j\u002B\u002B){\r\n const key = \u0060a-${j}\u0060;\r\n const value = j;\r\n\tmap.set(key,value)\r\n obj[key] = value;\r\n}","IsDeferred":false},{"Name":"obj insert","Code":"\r\nfor (let j = 0; j \u003C numberOfEntries; j\u002B\u002B){\r\n const key = \u0060a-${j}\u0060;\r\n const value = j;\r\n obj[key] = value;\r\n}","IsDeferred":false},{"Name":"Map lookup","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n const key = \u0060a-${i}\u0060;\r\n a = map.get(key);\r\n}","IsDeferred":false},{"Name":"Obj lookup","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n const key = \u0060a-${i}\u0060;\r\n a = obj[key];\r\n}","IsDeferred":false}]}