Closed Bug 495969 Opened 15 years ago Closed 15 years ago

Weave JAR file shouldn't be compressed

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwkbugzilla, Assigned: jwkbugzilla)

Details

Attachments

(1 file)

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.
Attached patch Proposed patchSplinter Review
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+
Keywords: checkin-needed
Target Milestone: -- → 0.4
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
QA Contact: weave → general
http://hg.mozilla.org/labs/weave/rev/f8efc7c13729
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
... and uses less OS file handles...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: