5 <title>Button Visual Test: Initialization Performance</title>
6 <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css">
7 <script src="../../../jquery-1.9.1.js"></script>
8 <script src="../../../ui/jquery.ui.core.js"></script>
9 <script src="../../../ui/jquery.ui.widget.js"></script>
10 <script src="../../../ui/jquery.ui.button.js"></script>
14 html = new Array( 500 ).join( "<button>button</button>" );
15 $( html ).appendTo( "body" );
18 $( "button" ).button();
19 $( "<p>" ).text( "Time to initialize: " + ($.now() - start) + "ms" ).prependTo( "body" );