Prepare Standard Usage Scenario (SUS) scripts for KDE software
To measure the energy consumption of KDE software, it is necessary to emulate user behavior. This is done with a Standard Usage Scenario (SUS) script.
See "Tasks" below for a list of KDE software to prepare a SUS for.
Preparing the SUS requires the following:
- Running the SUS for at least 5 minutes.
- Identifying tasks users typically carry out when using the application under consideration.
- Identifying functionalities which require high energy demand or high resource utilization.
- Based on the above, scheduling a flow chart of individual actions and emulating these actions with a task automation tool.
- Scheduling a wait-period of 60 seconds before starting the measurement is recommended.
A task automation tool is needed to run the usage scenarios. Candidates are:
KDE Eco Tester
-
xdotool
in a bash script (see, e.g., this script for Okular)
See here for more information: https://eco.kde.org/handbook/#preparing-the-standard-usage-scenario-sus
Edited by Joseph P. De Veaugh-Geiss