PDA

View Full Version : current 2d performance


surfer
06-04-2009, 04:00 AM
Hardware:
ThinkPad T61 (GM965, Core 2 Duo @ 2.2GHz)

Software:
X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-rc6 i686

linux-drm kernel (PAT,KMS both enabled)
libdrm (GIT)
mesa (GIT)
xf86-video-intel (GIT)
GTK 2.10.0


$ gtkperf -a -c 1000

GtkPerf 0.40 - Starting testing: Thu Jun 4 00:45:52 2009

GtkEntry - time: 0.16
GtkComboBox - time: 19.14
GtkComboBoxEntry - time: 10.78
GtkSpinButton - time: 6.04
GtkProgressBar - time: 6.88
GtkToggleButton - time: 3.46
GtkCheckButton - time: 2.03
GtkRadioButton - time: 3.22
GtkTextView - Add text - time: 18.55
GtkTextView - Scroll - time: 5.01
GtkDrawingArea - Lines - time: 5.98
GtkDrawingArea - Circles - time: 18.93
GtkDrawingArea - Text - time: 14.93
GtkDrawingArea - Pixbufs - time: 1.29
---
Total time: 116.39


The first thing I notice is the excessive times for GtkComboBox, GtkComboBoxEntry, and GtkDrawingArea (Circles, Text).

Textured Video looks beautiful now (no more tearing). Keep up the good work.

Gentooer
06-04-2009, 01:07 PM
I have similar software installed and my hardware is a 1.66Ghz C2D with a 945GME.

Cairo-compmgr (Xrender compositing):
GtkPerf 0.40 - Starting testing: Thu Jun 4 12:56:26 2009

GtkEntry - time: 0.31
GtkComboBox - time: 12.06
GtkComboBoxEntry - time: 12.42
GtkSpinButton - time: 5.41
GtkProgressBar - time: 6.40
GtkToggleButton - time: 3.91
GtkCheckButton - time: 1.77
GtkRadioButton - time: 2.79
GtkTextView - Add text - time: 50.07
GtkTextView - Scroll - time: 3.80
GtkDrawingArea - Lines - time: 8.32
GtkDrawingArea - Circles - time: 20.78
GtkDrawingArea - Text - time: 6.44
GtkDrawingArea - Pixbufs - time: 0.87
---
Total time: 135.34

No compositing:
GtkPerf 0.40 - Starting testing: Thu Jun 4 12:59:20 2009

GtkEntry - time: 0.29
GtkComboBox - time: 11.59
GtkComboBoxEntry - time: 12.50
GtkSpinButton - time: 5.28
GtkProgressBar - time: 6.23
GtkToggleButton - time: 3.82
GtkCheckButton - time: 1.89
GtkRadioButton - time: 2.94
GtkTextView - Add text - time: 50.12
GtkTextView - Scroll - time: 3.45
GtkDrawingArea - Lines - time: 5.56
GtkDrawingArea - Circles - time: 30.26
GtkDrawingArea - Text - time: 6.08
GtkDrawingArea - Pixbufs - time: 0.61
---
Total time: 140.61

What cpu do you have? I wonder how much of the differences were caused by the GPU and how much impact the CPU had.

surfer
06-04-2009, 01:49 PM
It's a Core 2 Duo @ 2.2GHz. Your GtkComboBox and GtkDrawingArea (Circle, Text) tests performed better but my test results were better overall. I kinda doubt the CPU would make much of a difference. IMO, more likely any differences between our test results are because of a different GPU (as you pointed out), driver, or GTK software issue.

surfer
06-10-2009, 02:04 AM
5 days later... notice the HUGE improvement... keep it up. :-)


GtkPerf 0.40 - Starting testing: Tue Jun 9 22:57:15 2009

GtkEntry - time: 0.15
GtkComboBox - time: 12.59
GtkComboBoxEntry - time: 8.58
GtkSpinButton - time: 3.38
GtkProgressBar - time: 3.40
GtkToggleButton - time: 1.57
GtkCheckButton - time: 1.19
GtkRadioButton - time: 1.53
GtkTextView - Add text - time: 18.41
GtkTextView - Scroll - time: 4.02
GtkDrawingArea - Lines - time: 6.65
GtkDrawingArea - Circles - time: 18.90
GtkDrawingArea - Text - time: 14.97
GtkDrawingArea - Pixbufs - time: 1.29
---
Total time: 96.64

Gentooer
06-10-2009, 11:47 AM
I just played around with some different gtk engines. Switching from Clearlooks to almost any other engine like Crux cuts my total time by about 30 seconds!