{"ScriptPreparationCode":null,"TestCases":[{"Name":"getAttribute","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 10000;\r\nwhile (i--) {\r\n\tvar foo = element.getAttribute(\u0022data-foo\u0022);\r\n}","IsDeferred":false},{"Name":"dataset","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 10000;\r\nwhile (i--) {\r\n \tvar foo = element.dataset.foo;\r\n}","IsDeferred":false},{"Name":"dataset x2","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 10000;\r\nwhile (i--) {\r\n \tvar foo = element.dataset.foo;\r\n var bar = element.dataset.bar;\r\n}","IsDeferred":false},{"Name":"dataset destructure","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 10000;\r\nwhile (i--) {\r\n \tvar { foo, bar } = element.dataset;\r\n}","IsDeferred":false},{"Name":"getAttribute x2","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 10000;\r\nwhile (i--) {\r\n\tvar foo = element.getAttribute(\u0022data-foo\u0022);\r\n\tvar bar = element.getAttribute(\u0022data-bar\u0022);\r\n}","IsDeferred":false}]}