• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

data/H30-Oct-2005-588465

debian/H07-May-2022-172100

intl/H30-Oct-2005-7,7035,262

pixmaps/H03-May-2022-275209

po/H07-May-2022-238192

src/H30-Oct-2005-2,6071,908

AUTHORSH A D03-Jun-200562 53

COPYINGH A D03-Jun-200517.6 KiB341281

ChangeLogH A D30-Oct-2005375 1311

INSTALLH A D03-Jun-20057.6 KiB183143

Makefile.amH A D05-Jun-2005567 2716

Makefile.inH A D30-Oct-200513.6 KiB454370

READMEH A D05-Jun-20053.7 KiB12782

TODO.tasksH A D03-Jun-2005161 76

acconfig.hH A D03-Jun-2005316 1514

acinclude.m4H A D03-Jun-200539 21

aclocal.m4H A D30-Oct-2005311.6 KiB8,8528,013

autogen.shH A D07-Jun-20053.6 KiB128108

config.guessH A D30-Oct-200542.4 KiB1,4541,257

config.h.inH A D03-Jun-20058.1 KiB303214

config.subH A D30-Oct-200530.7 KiB1,5671,426

configureH A D30-Oct-2005837.1 KiB27,41222,688

configure.inH A D30-Oct-20053.2 KiB11091

gtkperf.anjutaH A D05-May-20051.8 KiB5554

install-shH A D03-Jun-20056.3 KiB270153

ltmain.shH A D30-Oct-2005179.7 KiB6,4275,058

missingH A D03-Jun-20056.3 KiB199159

mkinstalldirsH A D03-Jun-2005722 4123

stamp-h.inH A D07-Jun-200510 21

README

1GtkPerf
2==========
3
4What?
5GtkPerf is an application designed to test GTK+ performance. The point is to
6create common testing platform to run predefined GTK+ widgets (opening
7comboboxes, toggling buttons, scrolling text etc.) and this way define the
8speed of device/platform.
9
10Why?
11I know that bencmarking tools (including GtkPerf) can be fooled and don't give
12real-life results. Yet, I belive that GtkPerf can be helpful to solve for
13example this kind of things:
14
15 * How fast is my software platform compared to others?
16 * How fast is my hardware compared to others?
17 * How fast/slow GTK+ is with different themes?
18 * Is there any notably slow widgets when using my GTK+ theme(engine)?
19 * How much does GTK+ performance increase when moving e.g. from GTK+ 2.4 -> 2.6?
20 * How much does GTK+/GDK perfomance increase when updating X-server?
21 * Can GTK+ be efficiently used in embedded devices?
22
23Tests
24=====
25
26The tests are separate from each other with the same main logic: Making single
27test operation (opening combo box, drawing n circles, etc.) and waiting for that
28to get processed are returned to g_idle. So every test is jumping between test
29function and g_idle as fast as possible.
30
31These tests are provided (in 0.30).
32
33GtkEntry (on_idle_gtkentry_test)
34-----
35Switches between "Test String" and "Longer test string" texts for [count] times.
36
37
38GtkComboBox (on_idle_gtkcombobox_test)
39-----
40GtkComboBox contains 10 entrys "Selection 1"..."Selection 10". This test opens
41and closes GtkComboBox [count] times while selecting next entry.
42
43
44GtkComboBoxEntry (on_idle_gtkcomboboxentry_test)
45-----
46GtkComboBoxEntry contains 10 entrys "Selection 1"..."Selection 10". This test
47opens and closes GtkComboBoxEntry [count] times while selecting next entry.
48
49
50GtkSpinButton (on_idle_gtkspinbutton_test)
51-----
52GtkSpinButton value is increased with one [count] times. When 1000 is reached,
53value is changed back to 0.
54
55
56GtkProgressBar (on_idle_gtkprogressbar_test)
57-----
58GtkProgressBar is increased with 1% [count] times. Whenever bar gets full,
59its value is set to 0.
60
61
62GtkToggleButton (on_idle_gtktogglebutton_test)
63-----
64GtkToggleButton state is toggled between on/off [count] times.
65
66
67GtkCheckButton (on_idle_gtkcheckbutton_test)
68-----
69GtkCheckButton state is toggled between on/off [count] times.
70
71
72GtkRadioButton (on_idle_gtkradiobutton_test)
73-----
74Two GtkRadioButtons inside same group are witched to be selected alternately
75[count] times.
76
77
78GtkTextView - Add text (on_idle_gtktextview_addtext_test)
79-----
80Text "Future is Open. " is appended to GtkTextView [count] times.
81
82
83GtkTextView - Scroll (on_idle_gtktextview_scroll_test)
84-----
85Scrolls the text added in earlier test GTK_SCROLL_STEP_FORWARD and when end is
86reached GTK_SCROLL_STEP_BACKWARD for [count] times.
87
88
89GtkDrawingArea - Lines (on_idle_gtkdrawingarea_lines_test)
90-----
91Draws random size and color lines to GtkDrawingArea for 1000*[count] times.
92
93
94GtkDrawingArea - Circles (on_idle_gtkdrawingarea_circles_test)
95-----
96Draws random size and color circles to GtkDrawingArea for 1000*[count] times.
97
98
99GtkDrawingArea - Text (on_idle_gtkdrawingarea_text_test)
100-----
101Draws random size and color "Future is Open." strings with PangoLayout to
102GtkDrawingArea for 100*[count] times. Font used is "Sans Bold 16".
103
104
105GtkDrawingArea - Pixbuf (on_idle_gtkdrawingarea_pixbufs_test)
106-----
107Draws Duck.png to random place in GtkDrawingArea for 10*[count] times.
108
109
110
111maemo
112=====
113
114To make GtkPerf Hildonized" (see http://www.maemo.org) and make it work nicelu in Nokia 770, do this:
115
1161) Enable this line in configure.in:
117#MAEMO_MODULES="libosso hildon-base-lib hildon-lgpl hildon-libs"
118
1192) Enable this line in appdata.h:
120//#define HILDONIZED
121
122Now compile normally and GtkPerf uses maemo-specific changes in code!
123
124
125
126
127