The doxygen output is currently not practical for shipping with releases, as it weighs in at about 1 GB when xz-compressed.
If we'd use svg instead of png for the diagrams, the output compresses to about 65 MB :-)
Differential D11994
Doxygen: add build option to use svg instead of png files for graphs hans on Aug 12 2015, 2:50 PM. Authored by
Details
The doxygen output is currently not practical for shipping with releases, as it weighs in at about 1 GB when xz-compressed. If we'd use svg instead of png for the diagrams, the output compresses to about 65 MB :-)
Diff Detail Event TimelineComment Actions Ping? I think this is a really straight-forward patch, but it would be great to have someone take a look at it. Comment Actions This looks fine. Just for reference, is the significantly decreased size due to the SVG files just being smaller, or compressing better? Given that most browsers seem to support SVG nowadays (http://caniuse.com/#feat=svg), it might make sense to just hardcode svg in the doxygen.cfg.in file (with a comment explaining the choice). That avoids surfacing any complexity in cmake. Comment Actions
The svg files are smaller, but the big reduction comes from better compression. For LLVM, the doxygen with png is 1.6 GB uncompressed and 980 MB compressed. With svg, it's 867 MB uncompressed and 65 MB compressed. |