{"ScriptPreparationCode":"var size = 50000;\r\nvar iterations = 1;\r\n\r\nvar arr1 = [];\r\nvar arr2 = [];\r\n\r\nfor (var i = 0; i \u003C size; i\u002B\u002B) {\r\n arr1.push({foo: i, bar: i});\r\n arr2.push({foo: i, bar: i});\r\n}","TestCases":[{"Name":"spread ","Code":"var res = [];\r\nfor (var i = 0; i \u003C iterations; i\u002B\u002B) {\r\n res = [...res, ...arr1];\r\n res = [...res, ...arr2];\r\n}","IsDeferred":false},{"Name":"spread (combined)","Code":"var res = [];\r\nfor (var i = 0; i \u003C iterations; i\u002B\u002B) {\r\n res = [...res, ...arr1, ...arr2];\r\n}","IsDeferred":false},{"Name":"push","Code":"var res = [];\r\nfor (var i = 0; i \u003C iterations; i\u002B\u002B) {\r\n res.push(...arr1);\r\n res.push(...arr2);\r\n}","IsDeferred":false},{"Name":"push (combined)","Code":"var res = [];\r\nfor (var i = 0; i \u003C iterations; i\u002B\u002B) {\r\n res.push(...arr1, ...arr2);\r\n}","IsDeferred":false},{"Name":"concat","Code":"var res = [];\r\nfor (var i = 0; i \u003C iterations; i\u002B\u002B) {\r\n res = res.concat(arr1).concat(arr2);\r\n}","IsDeferred":false},{"Name":"concat (nested)","Code":"var res = [];\r\nfor (var i = 0; i \u003C iterations; i\u002B\u002B) {\r\n res = res.concat(arr1.concat(arr2));\r\n}","IsDeferred":false}]}