/[projects]/misc/horsensspejder-web/jquery/jquery-ui-1.10.3/tests/visual/button/performance.html
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/jquery-ui-1.10.3/tests/visual/button/performance.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: text/html
File size: 737 byte(s)
initial import
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>

  ViewVC Help
Powered by ViewVC 1.1.20