(Gecko/20070725, Windows XP)
(AppleWebkit/420+ Version 3.0 Mobile/1C28)
|Microsoft Internet Explorer 7
Results are in milliseconds (ms), smaller numbers are better. Asterisks indicate errors returned during the test.
All tests were served and run from a MacBook Pro 2.16 GHz Core Duo, iPhone tests were run on a 1st Generation 8 GB model. Firebug was disabled for the Firefox tests.
A few things which are immediately apparent:
MooTools is a solid performer. Not the fastest and not the slowest, but Valerio Proietti’s code is consistently impressive.
JQuery has gotten significantly faster in the most recent version, John Resig is also writing really good code.
At least as applies to Valerio’s set of selector tests, JQuery is the fastest library on iPhone, nearly twice as fast as MooTools and almost three times faster than Prototype. Joe Hewitt’s iUI project uses Prototype, how much would iPhone performance benefit from switching to JQuery?
Firefox runs faster in virtualized Windows than it does native on the Mac. Camino (Mac native version of Mozilla/Firefox/Gecko) was slightly faster, but still not as fast as Firefox Windows.
I’ve got one project wrapping up soon which used MooTools and I’ve been very happy with it. Lately I’ve been reading a lot of buzz about JQuery and might be working that into another project. These tests were mostly just done to satisfy my own of curiosity.