Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
7-Zip Compression
SVT-AV1
FFmpeg
PostgreSQL
Stockfish
Newest Tests
WarpX
Epoch
Valkey
Whisperfile
XNNPACK
GROMACS
Recently Updated Tests
Apache CouchDB
PostgreSQL
NAMD
Apache Cassandra
Opus Codec Encoding
ParaView
New & Recently Updated Tests
Recently Updated Suites
Database Test Suite
Machine Learning
Steam
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
GtkPerf 1.2.2
pts/gtkperf-1.2.2
- 27 September 2020 -
Deprecate test profile.
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v10.0.0m2--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://jaist.dl.sourceforge.net/sourceforge/gtkperf/gtkperf_0.40.tar.gz</URL> <MD5>4331dde4bb83865e15482885fcb0cc53</MD5> <FileName>gtkperf_0.40.tar.gz</FileName> <FileSize>402982</FileSize> </Package> </Downloads> </PhoronixTestSuite>
install.sh
#!/bin/sh mkdir $HOME/gtkperf_env tar -zxvf gtkperf_0.40.tar.gz cd gtkperf/ patch -p1 <<'EOT' --- gtkperf/src/callbacks.c 2005-10-30 11:33:42.000000000 +0000 +++ gtkperf-patched/src/callbacks.c 2008-05-23 23:41:17.000000000 +0100 @@ -219,6 +219,13 @@ } +void +on_cmdline_test(char *optarg) +{ + appdata->test_type = atoi(optarg); +} + + /* Initialize appdata */ void setup_appdata(AppData * appdata_in) @@ -398,7 +405,7 @@ appdata->pixbuf_drawing = gdk_pixbuf_new_from_file (filename, NULL); gtk_combo_box_set_active (GTK_COMBO_BOX (appdata->combobox_testtype), - 0); + appdata->test_type); /* create end mark to info textview */ GtkTextIter iter; --- gtkperf/src/callbacks.h 2005-10-30 10:21:23.000000000 +0000 +++ gtkperf-patched/src/callbacks.h 2008-05-23 23:22:30.000000000 +0100 @@ -13,6 +13,7 @@ void on_cmdline_run_all (); void on_cmdline_help () ; void on_cmdline_count (char *optarg) ; +void on_cmdline_test (char *optarg) ; void on_window_main_show (AppData * data); gboolean --- gtkperf/src/main.c 2005-10-30 11:26:42.000000000 +0000 +++ gtkperf-patched/src/main.c 2008-05-23 23:44:02.000000000 +0100 @@ -65,9 +65,10 @@ {"help", 0, 0, 0}, {"automatic", 0, 0, 0}, {"count", 1, 0, 0}, + {"test", 1, 0, 0}, {0, 0, 0, 0} }; - c = getopt_long (argc, argv, "hac:", + c = getopt_long (argc, argv, "hac:t:", long_options, &option_index); if (c == -1) break; @@ -104,6 +105,10 @@ on_cmdline_count(optarg); break; + case 't': + on_cmdline_test(optarg); + break; + default: case 'h': on_cmdline_help (); EOT ./configure --prefix=$HOME/gtkperf_env make -j $NUM_CPU_JOBS echo $? > ~/install-exit-status make install cd .. rm -rf gtkperf/ cat > gtkperf <<'EOT' #!/bin/sh case "$1" in "COMBOBOX") test=2 ;; "COMBOBOX_ENTRY") test=3 ;; "TOGGLE_BUTTON") test=6 ;; "CHECK_BUTTON") test=7 ;; "RADIO_BUTTON") test=8 ;; "TEXTVIEW_ADD") test=9 ;; "TEXTVIEW_SCROLL") test=10 ;; "DRAWING_CIRCLES") test=12 ;; "DRAWING_PIXBUFS") test=14 ;; "TOTAL_TIME") test=0 ;; esac ./gtkperf_env/bin/gtkperf -a -c 5000 -t $test > $LOG_FILE EOT chmod +x gtkperf
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v10.0.0m2--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>Total time: #_RESULT_#</OutputTemplate> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v10.0.0m2--> <PhoronixTestSuite> <TestInformation> <Title>GtkPerf</Title> <AppVersion>0.40</AppVersion> <Description>This test calculates the average frame-rate from several different GTK operations.</Description> <ResultScale>Seconds</ResultScale> <Proportion>LIB</Proportion> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.2.2</Version> <SupportedPlatforms>Linux</SupportedPlatforms> <SoftwareType>Utility</SoftwareType> <TestType>Graphics</TestType> <License>Free</License> <Status>Deprecated</Status> <ExternalDependencies>gtk-development, build-utilities</ExternalDependencies> <RequiresDisplay>TRUE</RequiresDisplay> <EnvironmentSize>0.11</EnvironmentSize> <ProjectURL>http://gtkperf.sourceforge.net/</ProjectURL> <Maintainer>Michael Larabel</Maintainer> </TestProfile> <TestSettings> <Option> <DisplayName>GTK Widget</DisplayName> <Identifier>gtk-test</Identifier> <Menu> <Entry> <Name>GtkComboBox</Name> <Value>COMBOBOX</Value> </Entry> <Entry> <Name>GtkComboBoxEntry</Name> <Value>COMBOBOX_ENTRY</Value> </Entry> <Entry> <Name>GtkToggleButton</Name> <Value>TOGGLE_BUTTON</Value> </Entry> <Entry> <Name>GtkCheckButton</Name> <Value>CHECK_BUTTON</Value> </Entry> <Entry> <Name>GtkRadioButton</Name> <Value>RADIO_BUTTON</Value> </Entry> <Entry> <Name>GtkTextView - Add Text</Name> <Value>TEXTVIEW_ADD</Value> </Entry> <Entry> <Name>GtkTextView - Scroll</Name> <Value>TEXTVIEW_SCROLL</Value> </Entry> <Entry> <Name>GtkDrawingArea - Circles</Name> <Value>DRAWING_CIRCLES</Value> </Entry> <Entry> <Name>GtkDrawingArea - Pixbufs</Name> <Value>DRAWING_PIXBUFS</Value> </Entry> <Entry> <Name>Total Time</Name> <Value>TOTAL_TIME</Value> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>