{"ScriptPreparationCode":"var numElements = 1000000;\r\nvar FooRecord = Immutable.Record({\r\n foo: null\r\n});\r\n\r\nvar pojosArray = [];\r\nvar listWithPojos = Immutable.List([]);\r\nvar listWithRecords = Immutable.List([]);\r\n\r\nfor (let i = 0; i \u003C numElements; i\u002B\u002B) {\r\n pojosArray.push({\r\n foo: \u0027bar\u0027\r\n });\r\n listWithPojos = listWithPojos.push({\r\n foo: \u0027bar\u0027\r\n });\r\n listWithRecords = listWithRecords.push(FooRecord({\r\n foo: \u0027bar\u0027\r\n }));\r\n}","TestCases":[{"Name":"Pojos array Insert","Code":"[...pojosArray.slice(0, numElements / 2), { foo: \u0027bar\u0027 }, ...pojosArray.slice(numElements / 2)]","IsDeferred":false},{"Name":"List with pojos Insert","Code":"listWithPojos.insert(numElements / 2, { foo: \u0027bar\u0027 });","IsDeferred":false},{"Name":"List with records Insert","Code":"listWithRecords.insert(numElements / 2, FooRecord({ foo: \u0027bar\u0027 }));","IsDeferred":false}]}