{"ScriptPreparationCode":"var tests = 100,\r\n ct = 100000,\r\n arr = [];\r\nfor (var i = 0; i \u003C ct; i\u002B\u002B) {\r\n arr[i] = Math.floor(Math.random() * ct) \u002B 1;\r\n}","TestCases":[{"Name":"Splice","Code":"for (var i = tests; i--;) {\r\n var from = Math.floor(Math.random() * ct) \u002B 1,\r\n \t to = Math.floor(Math.random() * ct) \u002B 1,\r\n \t fromArr = arr.splice(from, 1);\r\n arr.splice(to, 0, fromArr[0]);\r\n}","IsDeferred":false},{"Name":"Temp","Code":"for (var i = tests; i--;) {\r\n var from = Math.floor(Math.random() * ct) \u002B 1,\r\n \t to = Math.floor(Math.random() * ct) \u002B 1,\r\n \t tmp = arr[from];\r\n arr[from] = arr[to];\r\n arr[to] = tmp;\r\n}","IsDeferred":false}]}