optimisation

Started by Jaff, November 17, 2021, 05:38:28 AM

Previous topic - Next topic

Jaff

I just run a short optimization on .EXE file. I extracted ZIP archive / repaired (don't ask me why looks corrupted) / extracted files / compressed zip archive using 7ZIP (ZIP/Ultra/deflate/32kb dictionary, 258 byte word) / replaced ZIP in exe file. 8.648k -> 8.245k (403k less in file size) [8.856.383 -> 8.443.466 bytes] (412.917 difference).
This is just a simple optimization of .EXE file. It can be reduced more with ZIP optimisers but anyway... Try to optimize ZIP file from EXE one when releasing (less space on all computers/less bandwidth usage for site). Thank you!

edit: Removed attachment for safety.

Phil Harvey

I wouldn't worry too much about 412 kB when the file size is > 8 MB.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Jaff

Multiply that at lots of downloads... is something. Maybe not much, but something. Also gives faster load time when is executed. Anyway, better than no optimization. Right?

obetz

Quote from: Jaff on November 17, 2021, 08:10:20 AM
Multiply that at lots of downloads...

with many downloads, it's still only 5% of the total volume of the many downloads. not worth the effort.