[PATCH] D11994: Doxygen: add build option to use svg instead of png files for graphs

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 18:23:55 PDT 2015


On Mon, Aug 17, 2015 at 4:12 PM, Hans Wennborg <hans at chromium.org> wrote:

> hans added a comment.
>
> In http://reviews.llvm.org/D11994#226133, @silvas wrote:
>
> >
>
>
>
>
> > 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.
>
>
> 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.
>

Wow, that is quite dramatically better compressibility in this use case.

-- Sean Silva


>
>
> http://reviews.llvm.org/D11994
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150817/3a7dd377/attachment.html>


More information about the llvm-commits mailing list