Summary: | program/classes : store uncompressed classes in jar files for faster startup and smaller installation file | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Jérôme <jerome.bouat> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | ||
Priority: | medium | ||
Version: | 7.6.2.1 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=158369 | ||
Whiteboard: | QA:needsComment | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 97991, 113358 | ||
Attachments: |
simulating LZX compression of uncompressed jar files inside the MSI archive
simulating LZX compression of original compressed jar files inside the MSI archive size of each original and uncompressed jar file |
Description
Jérôme
2023-11-26 20:11:02 UTC
Created attachment 191166 [details]
simulating LZX compression of uncompressed jar files inside the MSI archive
Each jar file in program/classes :
1. has been extracted using "jar xf [file name].jar"
2. has been created using "jar c0f [file name]-stored.jar *"
Next the whole program/classes folder has been packaged in a zip file with the below command line :
7z a -tzip -mm=LZMA -mx=9 -mmt=off stored-jars-LZMA.zip program/classes
jar version : jar (fastjar) 0.98
7-Zip version : [64] 16.02
Created attachment 191167 [details]
simulating LZX compression of original compressed jar files inside the MSI archive
The whole program/classes folder has been packaged in a zip file with the below command line :
7z a -tzip -mm=LZMA -mx=9 -mmt=off original-jars-LZMA.zip program/classes
7-Zip version : [64] 16.02
If the jar files in the programs/classes directory store the files without compression, the size of the MSI file would be reduced by around 3 MB. Created attachment 191170 [details]
size of each original and uncompressed jar file
For the GNU/Linux/amd64 Debian packages, the jar files are in : - libobasis7.6-core_7.6.4.1-1_amd64.deb - libobasis7.6-extension-beanshell-script-provider_7.6.4.1-1_amd64.deb - libobasis7.6-extension-javascript-script-provider_7.6.4.1-1_amd64.deb - libobasis7.6-extension-report-builder_7.6.4.1-1_amd64.deb - libreoffice7.6-ure_7.6.4.1-1_amd64.deb |