Bug 7724

Summary: Performance decrease on X11 between 1.0.x and 1.2.x
Product: cairo Reporter: Baptiste Mille-Mathias <baptiste.millemathias>
Component: xlib backendAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.2.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Baptiste Mille-Mathias 2006-08-01 12:48:26 UTC
Hello,

Since I switched to cairo 1.2.0 + gtk 2.10, the performance on rendering has
visually decreased. there are a lot of slowdows when gtk widgets need to be redrawn.

I know you're waiting for numbers to compare performances, but I can't as I
didn't performed benchmark before to switch from 2.8 + cairo 1.0.x.

Anyway I'll happy to provide you numbers if you give me some hints on how to do so.

Thanks
Comment 1 Behdad Esfahbod 2006-08-01 12:52:44 UTC
This is probably a dup of a bug that is fixed now.  Can you try with latest git
version?  We were Xflushing where we didn't need to.
Comment 2 Carl Worth 2006-08-01 16:28:44 UTC
Specifically, here is the commit of interest:

http://gitweb.freedesktop.org/?p=cairo;a=commit;h=b7191885c88068dad57d68ced69a752d1162b12c

So if you don't want to try checking cairo out of git, you can use the 1.2.0
source code of cairo and apply the above patch, (just click on commitdiff, then
plain to get the raw patch).

Or you could wait for cairo 1.2.2 which will be appearing soon with the above
patch in place. It really does help the xlib backend get right back up to its
old speed again.

-Carl
Comment 3 Carl Worth 2006-08-02 16:44:17 UTC

*** This bug has been marked as a duplicate of 7514 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.