Cairo 1.12 Is A Good Performance Story

Posted by Michael Larabel on March 31, 2012

As I reported earlier this week, Cairo 1.12 was released earlier this week after being in development for the past year and a half. Besides other new features, the performance of Cairo 1.12 should be better than previous releases.

As mentioned in the earlier Cairo 1.12 article, "For bringing the Cairo performance improvements, the library's rasterization pipeline was overhauled and now allows for the different Cairo back-ends the ability to implement their own specific pipeline while being able to leverage a library of common routines. Clipping was also overhauled, stroking was made faster, and there's also four new anti-aliasing hints."

This week there's blog posts and performance results by Chris Wilson, the Intel OTC employee who works on Intel's open-source Linux graphics driver and is also heavily involved with Cairo's development.

Wilson's first blog post highlights the Intel performance on Cairo 1.12 compared to the earlier 1.10 release. "Across the board, with one or two exceptions, Cairo version 1.12 is much faster than 1.10. (Those one or two exceptions are interesting and quite unexpected. Analysing those regressions should help push Cairo further.) If we focus on the yellow bar, you can see that the performance of the baseline image backend has been improved consistently, peaking at almost 4 times faster, but on average around 50% faster. Note this excludes any performance gains also made by pixman within the same time frame...That tells us that we have made good improvements to Cairo’s performance, but a question that is often asked is whether using XRender is worthwhile and whether we would have better performance and more responsive user interfaces if we were just to use CPU rasterisation (using the image backend) and push those images to the X server."

In a second blog post, Chris Wilson has benchmarks from a NVIDIA ION setup. "What we can see is that as a result of Nvidia investing engineering time in their driver, on the whole, it performs better than we could by just using the CPU. Better performance means more responsive user interfaces that sip less power, meaning happier users for longer."

Via the Phoronix Test Suite you can also conduct your own Cairo benchmarks using cairo-demos and cairo-perf-trace.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. Mir's GPLv3 License Is Now Raising Concerns
  2. NVIDIA Driver Soon Likely To Support EGL, Mir
  3. OpenMandriva Goes Into Alpha Form, Russian-Based
  4. NVIDIA Brings Their Linux Driver To ARM
  5. D Language Still Showing Promise, Advancements
  6. Planetary Annihilation Released For Linux Gamers
  7. Gentoo Starts Work On KDE-Wayland Support
  8. NVIDIA To License Its Kepler GPU Technology
  9. KDE's KWin Made Lots Of Progress In 4.11
  10. Ubuntu Announces Carrier Advisory Group
  11. Qt 5.1 Release Candidate 1 Has Arrived
Latest Forum Talk
  1. Intel GPU Driver Tries To Rip Out FBDEV Support
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Mir's GPLv3 License Is Now Raising Concerns
  4. NVIDIA Driver Soon Likely To Support EGL, Mir
  5. NVIDIA Brings Their Linux Driver To ARM
  6. OpenMandriva Goes Into Alpha Form, Russian-Based
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite