xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 51149] 20x slowdown in PNG processing when switching from JDK 1.6.0_17 to 1.6.0_18
Date Fri, 01 Jun 2012 14:03:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51149

--- Comment #8 from Luis Bernardo <lmpmbernardo@gmail.com> ---
note: although not part of this patch, I am finishing up a raw PNG image loader
that bypasses decoding. since this was mentioned here, the time measurement
with this new image loader for the same example is also shown here:

$ time fop -c fop.xconf -fo test.fo -pdf test.pdf 
01-Jun-2012 14:49:04 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-height set to: 11in
01-Jun-2012 14:49:04 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-width set to: 8.26in
01-Jun-2012 14:49:05 org.apache.fop.events.LoggingEventListener processEvent
INFO: Rendered page #1.

real    0m0.659s
user    0m0.816s
sys    0m0.044s
$ ls -l test.pdf 
-rw-rw-r-- 1 lbernardo lbernardo 202386 2012-06-01 14:49 test.pdf

The size of the resulting file is smaller because the image (the IDAT chunk) is
not decompressed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message