Closed Bug 552865 Opened 14 years ago Closed 13 years ago

Jetpack SDK should enforce packaging of all possible files into JAR

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: dietrich, Unassigned)

Details

Every file outside of a JAR in an extension hurts Firefox performance, by increasing the amount of filesystem IO. Jetpack should enforce performance best-practices by JARing everything by default.

More discussion in bug 533038. See also omnijar: bug 552121.

And the add-on performance project is tracking issues like this here: https://wiki.mozilla.org/Performance/Addons#Activity
OS: Linux → All
Hardware: x86 → All
This shouldn't be hard to integrate into the 'cfx xpi' command, which currently bundles everything into a non-JAR XPI.

However, some of the low-level Jetpack code uses APIs that expect some resources to be available as actual files on the filesystem, so modifying those aspects of the code will take some work.
Yup, we should definitely do this; I'm just not sure yet.  I'm setting the milestone to future and will update that once we figure out which dev cycle it should live in.
Target Milestone: -- → Future
s/not sure yet/not sure when yet/
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
This was pre-omnijar; doing this now would make things worse.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.