{"ScriptPreparationCode":null,"TestCases":[{"Name":"Test Bounding Rect","Code":"let interationCount = 10000;\r\n\r\nwhile(interationCount--) {\r\n testBoundingRect(\u0027foo\u0027)\r\n}\r\n\r\nfunction testBoundingRect(element) {\r\n return Number(document.getElementById(element).getBoundingClientRect().width.toFixed(2));\r\n}\r\n\r\n","IsDeferred":false},{"Name":"Test getComputedStyle","Code":"let interationCount = 10000;\r\n\r\nwhile(interationCount--) {\r\n testComputedStyle(\u0027foo\u0027)\r\n}\r\n\r\nfunction testComputedStyle(element) {\r\n return Number(window.getComputedStyle(document.getElementById(element)).width.replace(\u0027px\u0027, \u0027\u0027));\r\n}","IsDeferred":false},{"Name":"Test offsetWidth","Code":"let interationCount = 10000;\r\n\r\nwhile(interationCount--) {\r\n testOffsetWidth(\u0027foo\u0027)\r\n}\r\n\r\nfunction testOffsetWidth(element) {\r\n return document.getElementById(element).offsetWidth;\r\n}","IsDeferred":false}]}