[Reproducible-builds] Bug#808121: Bug#808121: diffoscope: HTML output is bloated
mh at glandium.org
Wed Dec 16 11:04:37 UTC 2015
On Wed, Dec 16, 2015 at 11:19:02AM +0100, Jérémy Bobbio wrote:
> Close: tag -1 + pending
> Mike Hommey:
> > Looking at the HTML in the HTML output, one can see that it is needlessly large.
> > Specifically, there appears to be a lot of e.g. <span class="diffchanged2">
> > following each other, without even a separation between them. This conflates
> > the amount of memory necessary for browsers to render those pages.
> I've commited a fix for this specific issue. The HTML presenter borrowed
> a lot of code from diff2html which was probably not much optimized in
> the first place. I guess the output could be vastly improved, but I'd
> rather focus on other part of the code for now. Patches highly welcome
> in the meantime.
The fix you committed reduced my 920KB reports to 650KB. Nice win :)
More information about the Reproducible-builds