{"ScriptPreparationCode":"var elementA = document.getElementById(\u0022foo\u0022);\r\nvar elementB = document.getElementById(\u0022bar\u0022);\r\nvar elementGroupA = document.getElementById(\u0022group\u0022);\r\nvar elementC = document.getElementById(\u0022foo2\u0022);\r\nvar elementD = document.getElementById(\u0022bar2\u0022);\r\nvar elementGroupB = document.getElementById(\u0022group2\u0022);\r\nvar elementGroupC = document.getElementById(\u0022group3\u0022);","TestCases":[{"Name":"Single - opacity - setAttribute - opacity","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementA.setAttribute(\u0022opacity\u0022, i);\r\n elementB.setAttribute(\u0022opacity\u0022, i);\r\n}","IsDeferred":false},{"Name":"Single - opacity - style.opacity","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementA.style.opacity = i;\r\n elementB.style.opacity = i;\r\n}","IsDeferred":false},{"Name":"Group - opacity - setAttribute - Fill","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementGroupA.setAttribute(\u0022opacity\u0022, i);\r\n}","IsDeferred":false},{"Name":"Group - opacity - style.opacity","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementGroupA.style.opacity = i;\r\n}","IsDeferred":false},{"Name":"Single - fill - rgb \u002B opacity","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementC.setAttribute(\u0022fill\u0022, \u0060rgb(${i},${i},${i})\u0060);\r\n elementC.setAttribute(\u0022opacity\u0022, i);\r\n elementD.setAttribute(\u0022fill\u0022, \u0060rgb(${i},${i},${i})\u0060);\r\n elementD.setAttribute(\u0022opacity\u0022, i);\r\n}","IsDeferred":false},{"Name":"Single - fill - rgba","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementC.setAttribute(\u0022fill\u0022, \u0060rgba(${i},${i},${i},${i})\u0060);\r\n elementD.setAttribute(\u0022fill\u0022, \u0060rgba(${i},${i},${i},${i})\u0060);\r\n}","IsDeferred":false},{"Name":"Group - fill - rgb \u002B opacity","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementGroupB.setAttribute(\u0022fill\u0022, \u0060rgb(${i},${i},${i})\u0060);\r\n elementGroupB.setAttribute(\u0022opacity\u0022, i);\r\n}","IsDeferred":false},{"Name":"Group - fill - rgba","Code":"var i = 10000;\r\nwhile (i--) {\r\n elementGroupC.setAttribute(\u0022fill\u0022, \u0060rgba(${i},${i},${i},${i})\u0060);\r\n}","IsDeferred":false}]}