Hi,<br><br>I use Cairo/GTK+ on an old linux box. I was using the development (1.1.6) version of cairo for a while, till I switched to 1.2.0 stable. I found the new version was noticable slower than the development version (and to a lesser extent, version
1.0.4). I used a tool called gtkperf to benchmark the different versions (I realise it is not the best tool for the job but atleast it could show the difference)<br><br>GTK+ 2.10<br>cairo 1.1.6<br><br>GtkPerf 0.40 - Starting testing: Tue Jul 11 15:51:45 2006
<br><br>GtkEntry - time: 0.82<br>GtkComboBox - time: 14.17<br>GtkComboBoxEntry - time: 11.41<br>GtkSpinButton - time: 2.05<br>GtkProgressBar - time: 1.02<br>GtkToggleButton - time: 4.21<br>GtkCheckButton - time: 3.43
<br>GtkRadioButton - time: 4.94<br>GtkTextView - Add text - time: 10.29<br>GtkTextView - Scroll - time: 6.10<br>GtkDrawingArea - Lines - time: 4.10<br>GtkDrawingArea - Circles - time: 11.54<br>GtkDrawingArea - Text - time:
24.90<br>GtkDrawingArea - Pixbufs - time: 3.00<br> --- <br>Total time: 102.09<br><br><br><br>GTK+ 2.10<br>
cairo 1.2.0<br>
<br>
GtkPerf 0.40 - Starting testing: Sat Jul 8 12:22:16 2006<br>
<br>
GtkEntry - time: 0.99<br>
GtkComboBox - time: 17.88<br>
GtkComboBoxEntry - time: 15.20<br>
GtkSpinButton - time: 3.24<br>
GtkProgressBar - time: 1.45<br>
GtkToggleButton - time: 4.82<br>
GtkCheckButton - time: 4.10<br>
GtkRadioButton - time: 5.81<br>
GtkTextView - Add text - time: 11.59<br>
GtkTextView - Scroll - time: 11.40<br>
GtkDrawingArea - Lines - time: 3.71<br>
GtkDrawingArea - Circles - time: 11.13<br>
GtkDrawingArea - Text - time: 41.71<br>
GtkDrawingArea - Pixbufs - time: 2.97<br>
--- <br>
Total time: 136.05<br><br><br>Unfortunately I do not have the benchmarks for 1.0.4, but from what I recollect, it was only slightly slower (in benchmark) than version 1.1.6. <br><br>The noticable (to the eye) lowering of performance mainly occured in text rendering.
<br><br>I just was curious to know the cause for the slightly lower performance in the new version of cairo. Would disabling the PDF/PS/SVG backends result in a speed improvement for 1.2.0?<br><br><br>Thanks a lot,<br>