Hartmut Henkel wrote:
Hi,
On Sat, 27 Jan 2007, Hartmut Henkel wrote:
BTW, i changed writezip.c here so that intermediate deflateInit() calls would be replaced just by deflateReset(); and no intermediate deflateEnd(). Hope was that the then removed memory reallocations would speed it up. It works, but no speed gain.
actually my 1st try was wrong, it never triggered deflateReset. Now it works, and summing over 10 compilations
$ time pdftex pdftex-all.tex 2>&1 > /dev/null
with object compression on i get the following time statistics:
orig patch quotient --------------------------. real 90.633 90.809 0.998062 user 89.537 89.589 0.99942 sys 0.463 0.799 0.579474
so there isn't any noticable difference in real and user, but the sys time goes down to < 60 % by the patch, reproducible. What does this actually mean?
sys is the time spent in all system calls combined. Often, that is just I/O waits, but in this case I'd rather assume it is time spent in the bowels of malloc(). Taco