imported the whole jquery-ui package, refreshed with 1.10.2
[myslice.git] / third-party / jquery-ui-1.10.2 / tests / visual / button / performance.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4         <meta charset="utf-8">
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>
11         <script>
12         $(function() {
13                 var start,
14                         html = new Array( 500 ).join( "<button>button</button>" );
15                 $( html ).appendTo( "body" );
16
17                 start = $.now();
18                 $( "button" ).button();
19                 $( "<p>" ).text( "Time to initialize: " + ($.now() - start)  + "ms" ).prependTo( "body" );
20         });
21         </script>
22 </head>
23 <body>
24
25 </body>
26 </html>