> On 5/19/20 10:46 PM, Jan Hubicka wrote:
> > Martin, the zstd compression breaks the compression statistics (it works 
> > when
> > GCC is configured for zlib)
> 
> Hello.
> 
> Can you please be please more concrete? I can help with, but I don't know
> what's broken.
Sure, the compression statistics are in -flto-report.
Currently I get:
[WPA] Compression: 99229066 input bytes, 0 uncompressed bytes (ratio: 0.000000)

It should print sane info about #of uncomporessed bytes and ration.
(it prints sane output with zlib compression on my other machine where i
did not install lzop).

On related note, I remember us discussing that std compression has
problem with bigger headers then zlib.  Since we stream our header that
says if section is compressed, I wonder if we could teach stream-out
phase to skip compression if it is not benefical, so the size info is
not duplicated?

Honza
> 
> Thanks,
> Martin

Reply via email to