{"ScriptPreparationCode":null,"TestCases":[{"Name":"immutable Map","Code":"let obj = Immutable.Map();\r\nfor(i=0;i\u003C10000;i\u002B\u002B){\r\n const key = [\u0027key\u0027\u002Bi, i];\r\n const value = \u0027value\u0027\u002Bi;\r\n obj.set(key, {key, value});\r\n}","IsDeferred":false},{"Name":"Native Javascript Map","Code":"let obj = new Map();\r\nfor(i=0;i\u003C10000;i\u002B\u002B){\r\n const key = [\u0027key\u0027\u002Bi, i];\r\n const value = \u0027value\u0027\u002Bi;\r\n obj.set(key, {key, value});\r\n}","IsDeferred":false},{"Name":"Read immutable Map","Code":"let obj = Immutable.Map();\r\nfor(i=0;i\u003C10000;i\u002B\u002B){\r\n const key = [\u0027key\u0027\u002Bi, i];\r\n const value = \u0027value\u0027\u002Bi;\r\n obj.set(key, {key, value});\r\n}\r\n\r\nlet count = 0;\r\n\r\nfor(i=0;i\u003C10000;i\u002B\u002B){\r\n const key = [\u0027key\u0027\u002Bi, i];\r\n if (obj.has(key)) {\r\n count\u002B\u002B;\r\n \tconst temp = obj.get(key); \r\n }\r\n}\r\n\r\nconsole.log(\u0027Immutable Map:: \u0027, count);","IsDeferred":false},{"Name":"Read Native Javascript Map","Code":"let obj = new Map();\r\nfor(i=0;i\u003C10000;i\u002B\u002B){\r\n const key = [\u0027key\u0027\u002Bi, i];\r\n const value = \u0027value\u0027\u002Bi;\r\n obj.set(key, {key, value})\r\n}\r\n\r\nlet count = 0;\r\n\r\nfor(i=0;i\u003C10000;i\u002B\u002B){\r\n const key = [\u0027key\u0027\u002Bi, i];\r\n if (obj.has(key)) {\r\n count\u002B\u002B;\r\n \tconst temp = obj.get(key); \r\n }\r\n}\r\nconsole.log(\u0027Map:: \u0027, count);","IsDeferred":false}]}