[cairo-bugs] [Bug 11529] New: Performance of cairo is not good without XRender extension

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 10 05:03:12 PDT 2007


           Summary: Performance of cairo is not good without XRender
           Product: cairo
           Version: 1.5.1
          Platform: SPARC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: ginn.chen at sun.com
         QAContact: cairo-bugs at cairographics.org

Firefox 3 used cairo for web page rendering, Firefox 2 didn't.
Comparing to Firefox 2, Firefox 3 is quite slow on my SPARC box, which is using
XSun without XRender extension.

I used page load test suite from Mozilla Corp. to measure the performance.
It has 393 pages of the top 500 web pages as listed by Alexa; they have been
'cleaned' so that all of their content is locally served.
I disabled java, and fixed Firefox window size to 1024x768 on a 1920x1200
XScreensaver is also disabled.
Each page is cycled 5 times, the longest run is removed. I use median value of
other 4 runs for measurement.

On w1100z (AMD64, 2G mem, XOrg with XRender support), Firefox 2 avg page load
time is 1188.6ms, Firefox 3 is 631.1ms.
On Ultra45 (2 SPARC CPU, 4G mem, XSun without XRender support ), Firefox 2 avg
page load time is 1088.5ms, Firefox 3 is 1955.0ms.

I also tried Firefox 3.0 pre alpha 2 with cairo turned off, the performance is
pretty good on the same machine.

I can install a specific video adapter on my SPARC box to turn XRender on, and
give more test results.

I think there's some work can be done in cairo lib to get the performance

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the cairo-bugs mailing list