[Webkit-unassigned] [Bug 51455] [chromium] Reduce canvas.toDataURL("image/png") run-time costs 300% (compression strategy)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 22 18:12:36 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51455
--- Comment #2 from noel gordon <noel.gordon at gmail.com> 2010-12-22 18:12:36 PST ---
Extraction results for 800 x 600 px test image, this to determine the compression level used by chromium with the default libpng compressor.
safari 5.0.3 win32 (baseline)
x, extract image/png 167 ms length: 1171790 bytes
chrome 10 win32 dev, for compression levels [1-9]
1, extract image/png 168 ms length: 1237066 bytes
2, extract image/png 179 ms length: 1222386 bytes
3, extract image/png 216 ms length: 1188118 bytes
4, extract image/png 264 ms length: 1136778 bytes
5, extract image/png 331 ms length: 1120050 bytes
6, extract image/png 510 ms length: 1098442 bytes ** default
7, extract image/png 623 ms length: 1091738 bytes
8, extract image/png 890 ms length: 1087218 bytes
9, extract image/png 929 ms length: 1086930 bytes
Conclusion: chrome uses the default compression level 6, and is noticeably slower
than Safari even though we both use libpng. For a compressed output size matching
Safari (compression level 3), chrome is still ~50% slower than Safari.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list