Package: zopfli
Version: 1.0.2-1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
Hi,
Following this blog
(http://roartindon.blogspot.fr/2016/04/boosting-zopfli-performance.html),
I change the flags of the Makefile for the following:

CFLAGS = -W -Wall -Wextra -ansi -pedantic -lm -O3 -Wno-unused-function -flto
CXXFLAGS = -W -Wall -Wextra -ansi -pedantic -O3 -flto

I simply change -O2 to -O3 and added -ftlo.

The result I got on my Core2 E8400 (old processor):
Before:

Optimizing /home/adrien/spirale.png
Input size: 550707 (537K)
Result size: 318669 (311K). Percentage of original: 57.865%
Result is smaller

222.00user 0.25system 3:50.99elapsed 96%CPU (0avgtext+0avgdata
72084maxresident)k
0inputs+0outputs (0major+14759minor)pagefaults 0swaps

After:

Optimizing /home/adrien/spirale.png
Input size: 550707 (537K)
Result size: 318669 (311K). Percentage of original: 57.865%
Result is smaller

190.20user 0.08system 3:11.17elapsed 99%CPU (0avgtext+0avgdata
71924maxresident)k
0inputs+0outputs (0major+32645minor)pagefaults 0swaps

I would have reported upstream, but it seems that no one listens to this
(https://github.com/google/zopfli/issues/104).


--- System information. ---
Architecture:
Kernel: Linux 4.16.0-1-amd64

Debian Release: buster/sid
500 unstable ftp.fr.debian.org
500 testing download.jitsi.org
1 experimental ftp.fr.debian.org

--- Package information. ---
Depends (Version) | Installed
=========================-+-===========
libc6 (>= 2.14) | 2.27-3
libgcc1 (>= 1:3.0) | 1:8.1.0-3
libstdc++6 (>= 5.2) | 8.1.0-3


Package's Recommends field is empty.

Package's Suggests field is empty.

Reply via email to