Remove jszip library from devtools
Categories
(DevTools :: General, task)
Tracking
(firefox137 fixed)
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
(Keywords: perf-alert)
Attachments
(1 file, 1 obsolete file)
Bug 1929387 is going to land duplicates of React modules as ESM. We will later remove the non-ESM builds, but in the meantime, we should try to cleanup the unnecessary cruft from DevTools.
It is only used by Har Exporter and could instead use nsIZipWriter.
Assignee | ||
Comment 1•25 days ago
|
||
We could use the built-in ZipWriter component instead.
This also prevent naming the file within the zip file with a zip extension,
which makes things really confusing!
Updated•25 days ago
|
Assignee | ||
Comment 2•25 days ago
|
||
We could use the built-in ZipWriter component instead.
This also prevent naming the file within the zip file with a zip extension,
which makes things really confusing!
Updated•25 days ago
|
Comment 3•21 days ago
|
||
Hi Peter, I am not sure if browsertime is still using DevTools to record HAR files for Firefox in some situations, but it looks like this patch would change the structure of the ZIP file generated. Let us know if you need help to migrate.
Comment 4•21 days ago
|
||
Hi Julian, thank you for reaching out! No we use only the new bidi-har now so it will not affect Browsertime.
Comment 5•21 days ago
|
||
(In reply to Peter Hedenskog from comment #4)
Hi Julian, thank you for reaching out! No we use only the new bidi-har now so it will not affect Browsertime.
That's great to hear, both for BiDi and for this issue, thanks for checking :)
Comment 7•20 days ago
|
||
bugherder |
Comment 8•19 days ago
|
||
Reduced the installer size on Windows by 88KB!
Comment 9•14 days ago
|
||
(In reply to Pulsebot from comment #6)
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3be3142d3aed
[devtools] Remove jszip library from devtools.
r=devtools-reviewers,sylvestre,nchevobbe
Perfherder has detected a build_metrics performance change from push 3be3142d3aed981c2e1c35cd5861618b50d5089d.
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
0.08% | installer size | windows2012-64 | 111,682,615.58 -> 111,595,139.83 |
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.
You can run these tests on try with ./mach try perf --alert 44173
For more information on performance sheriffing please see our FAQ.
Description
•