{"ScriptPreparationCode":"\r\n\r\nfunction nuTotalHeight(i){\r\n\t\r\n\tvar h\t= 0;\r\n\r\n\tif($(\u0027#\u0027 \u002B i).length == 0){return 0;}\r\n\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027height\u0027));\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027padding-top\u0027));\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027padding-bottom\u0027));\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027border-top-width\u0027));\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027border-bottom-width\u0027));\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027margin-top\u0027));\r\n\th = h \u002B parseInt($(\u0027#\u0027 \u002B i).css(\u0027margin-bottom\u0027));\r\n\r\n\treturn h;\r\n\t\r\n}\r\n\r\nfunction nuTotalHeight_New(i){\r\n\t\r\n\tvar h\t= 0;\r\n\r\n\tlet obj = $(\u0027#\u0027 \u002B i);\r\n\tif(obj.length == 0){return 0;}\r\n\t\r\n\th = h \u002B parseInt(obj.css(\u0027height\u0027));\r\n\th = h \u002B parseInt(obj.css(\u0027padding-top\u0027));\r\n\th = h \u002B parseInt(obj.css(\u0027padding-bottom\u0027));\r\n\th = h \u002B parseInt(obj.css(\u0027border-top-width\u0027));\r\n\th = h \u002B parseInt(obj.css(\u0027border-bottom-width\u0027));\r\n\th = h \u002B parseInt(obj.css(\u0027margin-top\u0027));\r\n\th = h \u002B parseInt(obj.css(\u0027margin-bottom\u0027));\r\n\r\n\treturn h;\r\n\t\r\n}\r\n\r\n","TestCases":[{"Name":"Code old","Code":"nuTotalHeight(\u0027new-benchmark-form\u0027);","IsDeferred":false},{"Name":"Code new","Code":"nuTotalHeight_New(\u0027new-benchmark-form\u0027);","IsDeferred":false}]}