Button performance test: Added alert for time to initialize.

This commit is contained in:
Scott González 2010-07-16 11:53:37 -04:00
parent 70481d9feb
commit b368491f70

View File

@ -16,7 +16,10 @@
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
<script type="text/javascript">
$(function() {
var start = +new Date();
$("button").button();
var end = +new Date();
alert( "Time to initialize: " + (end - start) + "ms" );
});
</script>
</head>