jqmpopupcreatereverse

JavaScript performance comparison

Test case created by Alexander Schmitz

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://babulina.go-nix.ca:8080/nix/jqm/popup.js"></script>
<link rel="stylesheet" href="http://babulina.go-nix.ca:8080/nix/jqm/css/themes/default/jquery.mobile.css" />
<div data-role="popup" id="thePopup">
  <p>This is a popup</p>
</div>

Preparation code output

This is a 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
new
$( "#thePopup" ).popup2();
$( ":mobile-popup2" ).popup2( "destroy" );
pending…
original
$( "#thePopup" ).popup();
$( ":mobile-popup" ).popup( "destroy" );
pending…
3
$( "#thePopup" ).popup3();
$( ":mobile-popup" ).popup3( "destroy" );
pending…
4
$( "#thePopup" ).popup4();
$( ":mobile-popup" ).popup4( "destroy" );
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