Colorbox vs. prettyPhoto

JavaScript performance comparison

Revision 5 of this test case created

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script><script src="//epson.com/_assets/libraries/jquery/prettyphoto/jquery.prettyPhoto.js"></script><script src="//christinewilson.ca/epson/colorbox/jquery.colorbox-min.js"></script>
<a rel="lightbox" href="http://christinewilson.ca/epson/image.jpeg?iframe=true&amp;width=646&amp;height=417" class="cboxElement" style="background:#CFF;padding:10px;">My Colorbox Example</a>

Preparation code output

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
prettyphoto
$('a[rel^="lightbox"]').prettyPhoto();
pending…
colorbox
$("a[rel^='lightbox']").colorbox();
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