Open intrigus-lgtm opened 1 year ago
Hi @intrigus,
Thanks for raising this issue. We're definitely aware that the CodeQL distribution continues to increase in size, and this is something that we're paying very close attention to. In particularly, when we added support for Swift we had to pull in loads of new dependencies, and the bundle size increase came up many times in that discussion.
I will forward your size reduction suggests to the appropriate teams.
Description of the issue
I've noticed that the size of the CodeQL binary distribution only knows one direction - upwards.
2021-04-29: 242 MB compressed, 476 MB uncompressed 2022-12-03: 417 MB compressed, 1.1GB uncompressed 2023-09-04: 541 MB compressed, 1.4 GB uncompressed
Now this is of course somewhat expected as there are new languages being added over the course of time and space is free; expect when it slowly isn't^^ I'm wondering whether there are some easy improvements possible. For example
fdupes -r -S -m .
in thetools/
directory results inand for example all of these files are identical:
The
swift/
subdirectory occupies more than 500 MB; maybe it is possible to try to build some of these binaries with-Osize
or something similar? Feel free to close this issue, if you think this is not worthwhile or there are no easy gains.