Hi, > 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. Christof _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
