> > has anyone measured the speed of unpacking jquery (or any other script, > for > > that matter)? > > > > I would suspect that uncompressing/executing jquery.pack.js generates a > > small time overhead, but how long does it take? Compared to the time > > overhead of downloading the full-size jquery.js? > > It depends on the computers and the network connection you have. If you > are > developing a inhouse-application which usually can work with 1Gbit > ethernet > connections, then the uncompressed jQuery is probably faster for most > machines. > > I have not measured, but beginning at least with 10Mbit downwards I'd > expect a > modern computer to be faster with uncompressing than with transfering the > data. If you have very slow machines on the user side, then that border > may > come down to maybe 1Mbit. In that case you also might want to go through > the > jQuery-code to make it faster - you pay with reduced readability and > ellegance of course.
Something else to consider: Once downloaded, the JS file can be cached. But the uncompressing has to be done every time. -- Jörn -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/