Weave currently uses maximum compression for its JAR file. This has a negative effect on the overall compression of the XPI package (142 kB difference though that's mostly because all the 2.5 MB jQuery are currently included). It also has a negative effect on the application performance, retrieving files from an uncompressed JAR file is faster.
Created attachment 381098 [details] [diff] [review] Proposed patch
Assignee: nobody → trev.moz
Status: NEW → ASSIGNED
Attachment #381098 - Flags: review?(thunder)
The full jQuery was very much a mistake, I backed it out. But more to the point--if compression is unwanted, why are JARs desired at all? Why not bypass the JAR altogether and just ship the files as they are in the XPI?
I think, reading from a single file tends to be faster than reading from a dozen files (less seek operations on the disk, better use of OS caching).
Comment on attachment 381098 [details] [diff] [review] Proposed patch Ok, r=thunder
Attachment #381098 - Flags: review?(thunder) → review+
Forgot to mention that using a JAR file makes the installation quite a bit faster :)
Component: Weave → General
Product: Mozilla Labs → Weave
Version: Trunk → unspecified
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
... and uses less OS file handles...
You need to log in before you can comment on or make changes to this bug.