{"ScriptPreparationCode":null,"TestCases":[{"Name":"Create","Code":"for (var i = 0; i \u003C 10; i\u002B\u002B) {\r\n var grad2 = ctx.createLinearGradient(0, 0, 4, 256);\r\n grad2.addColorStop(0, \u0027red\u0027);\r\n grad2.addColorStop(0.5, \u0027rgba(0,0,255,0.5)\u0027);\r\n grad2.addColorStop(1, \u0027lime\u0027);\r\n ctx.fillStyle = grad2;\r\n ctx.fillRect(0,0,512,512);\r\n}","IsDeferred":false},{"Name":"reuse","Code":"for (var i = 0; i \u003C 10; i\u002B\u002B) {\r\n ctx.fillStyle = grad;\r\n ctx.fillRect(0,0,512,512);\r\n}","IsDeferred":false},{"Name":"fill only","Code":"ctx.fillStyle = grad;\r\nfor (var i = 0; i \u003C 10; i\u002B\u002B) {\r\n \r\n ctx.fillRect(0,0,512,512);\r\n}","IsDeferred":false}]}