{"ScriptPreparationCode":null,"TestCases":[{"Name":"object spread","Code":"const obj = {};\r\nfor(i=0;i\u003C100000;i\u002B\u002B){\r\n obj[i] = \u0027some long string which will need to be copied\u0027;\r\n}\r\n\r\nconst obj2 = {key: \u0027This is final object\u0027}\r\n\r\nconst final = {obj2, ...obj};","IsDeferred":false},{"Name":"object assign","Code":"const obj = {};\r\nfor(i=0;i\u003C100000;i\u002B\u002B){\r\n obj[i] = \u0027some long string which will need to be copied\u0027;\r\n}\r\n\r\nconst obj2 = {key: \u0027This is final object\u0027}\r\n\r\nconst final = Object.assign({}, obj2, obj)\r\n\r\nconst r = final.key","IsDeferred":false},{"Name":"immutable-js","Code":"const obj = {};\r\nfor(i=0;i\u003C100000;i\u002B\u002B){\r\n obj[i] = \u0027some long string which will need to be copied\u0027;\r\n}\r\nconst immObj = Immutable.Map();\r\n\r\nconst obj2 = {key: \u0027This is final object\u0027}\r\n\r\nconst final = immObj.set(obj).set(obj2);\r\n\r\nconst r = final.get(\u0022key\u0022)","IsDeferred":false}]}