90% Good parts of jQuery - at only 13% of the size
After measuring the loading performance of my PhoneGap app and seeing that jQuery took 800ms to load (even when cached), I spent the last few days porting from jQuery to Zepto, which boasts a similar API but loads in only 300ms. You can see the load times here:
https://docs.google.com/spreadsheet/ccc?key=0Aq_a4WNAMuCEdDd...
(You can see how I did the measurements in this post:
http://www.everyday.im/learning/phonegap-loading-performance...)While porting 6 jQuery plugins over, I encountered various differences in the APIs and it was a bit of a headache to sort through them (especially the very subtle differences), but it was worth it.I'm writing a blog post currently on my porting experience, as I imagine others might take on the task and encounter similar issues.For people comparing Zepto to this offering, keep in mind that Zepto also offers mobile-specific events, so if your reason for porting is mobile latency, Zepto's a good bet.