GtkPerf – test GTK+ performance

Last Updated on November 25, 2022

GtkPerf is an application designed to test GTK+ performance from a variety of different GTK operations.

The purpose of this tool is to create common testing platform to run predefined GTK+ widgets (opening comboboxes, toggling buttons, scrolling text) and this way define the speed of device/platform.

The tests are separate from each other with the same main logic: making single test operation (opening combo box, drawing n circles, etc.) and waiting for that to get processed are returned to g_idle. So every test is jumping between test function and g_idle as fast as possible.

Features include:

  • GtkEntry – switches between “Test String” and “Longer test string” texts for [count] times.
  • GtkComboBox – contains 10 entrys “Selection 1″…”Selection 10”. This test opens and closes GtkComboBox [count] times while selecting next entry.
  • GtkComboBoxEntry – entrys “Selection 1″…”Selection 10”. This test opens and closes GtkComboBoxEntry [count] times while selecting next entry.
  • GtkSpinButton – GtkSpinButton value is increased with one [count] times. When 1000 is reached, value is changed back to 0.
  • GtkProgressBar – GtkProgressBar is increased with 1% [count] times. Whenever bar gets full, its value is set to 0.
  • GtkToggleButton – GtkToggleButton state is toggled between on/off [count] times.
  • GtkCheckButton – GtkCheckButton state is toggled between on/off [count] times.
  • GtkRadioButton – two GtkRadioButtons inside same group are switched to be selected alternately [count] times.
  • GtkTextView – text “Future is Open. ” is appended to GtkTextView [count] times, scrolls the text added in earlier test GTK_SCROLL_STEP_FORWARD and when end is reached GTK_SCROLL_STEP_BACKWARD for [count times.
  • GtkDrawingArea –  draws random size and color lines and circles to GtkDrawingArea for 1000*[count] times; Draws random size and color “Future is Open.” strings with PangoLayout to GtkDrawingArea for 100*[count] times; draws Duck.png to random place in GtkDrawingArea for 10*[count] times.

Website: gtkperf.sourceforge.net
Support:
Developer: Kaj Grönholm
License: GNU GPL v2

GtkPerf

GtkPerf is written in C. Learn C with our recommended free books and free tutorials.

Return to Benchmark Tools Home Page


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted