Closed
Bug 1838037
Opened 2 years ago
Closed 2 years ago
Minify JS code in Firefox
Categories
(Firefox :: General, enhancement)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 1505119
Performance Impact | ? |
People
(Reporter: marco, Unassigned)
References
Details
(Keywords: memory-footprint)
The size of JS files has a great effect on memory usage (and probably startup performance), especially for modules that are loaded in every content process.
We are already minifying JS files on Android, https://searchfox.org/mozilla-central/rev/b91e9bef5a6d6f7b549fbc9cba70cb4665ed3866/toolkit/moz.configure#924.
Should we do the same with Firefox JS files?
Reporter | ||
Comment 1•2 years ago
|
||
Note this becomes more and more important as the number of content processes increases.
Comment 2•2 years ago
•
|
||
I found in a memory regression investigation that just deleting the comments in my TranslationsChild.sys.mjs
file reduced memory usage by 4,608 bytes per content process.
Comment 3•2 years ago
|
||
I don't think there is a need to keep two bugs open here
You need to log in
before you can comment on or make changes to this bug.
Description
•