jqmStartup

JavaScript performance comparison

Revision 2 of this test case created by Gabriel Schulhof

Preparation code

<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script>
( function( $, undefined ) {
$( function() {
  $( "body" ).attr( "data-enhance", false );
  $( "#thePopup" ).popup();
});
$( document ).bind( "mobileinit", function() {
  $.mobile.hashListeningEnabled = false;
  $.mobile.linkBindingEnabled = false;
  $.mobile.pageContainer = $( "body" );
  $.mobile.ignoreContentEnabled = true;
  $.mobile.autoInitializePage = false;
});
})( jQuery );
</script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script>
<link ref="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.css" />
<div data-role="popup" id="thePopup">
  <p>The Popup</p>
</div>

Preparation code output

The Popup

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
1.
;
pending…
2.
;
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment