{"ScriptPreparationCode":null,"TestCases":[{"Name":"naive","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 100000;\r\nwhile (i--) {\r\n\tif (i % 1000 === 0) { \r\n element.style.cursor = \u0022default\u0022; \r\n }\r\n\telse { \r\n element.style.cursor = \u0022grid\u0022 \r\n };\r\n}","IsDeferred":false},{"Name":"smart","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 100000;\r\nwhile (i--) {\r\n\tif (i % 1000 === 0) { \r\n element.style.cursor = \u0022default\u0022; \r\n }\r\n\telse if(element.style.cursor !== \u0022grid\u0022) { \r\n element.style.cursor = \u0022grid\u0022 \r\n };\r\n}","IsDeferred":false}]}