Simple demonstrations of performance issues. Using these examples will allow practicing performance analyzing tools, such as Systrace, Traceview and more.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
gradle/wrapper
graphics
keepbusyapp
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

PerformanceDemo

Simple demonstrations of performance issues. Using these examples will allow practicing performance analyzing tools, such as Systrace, Traceview and more.

Perf Demo

This is the main app, showing a few options to simulate different performance issues.

Keep Busy app

Simple app to keep the CPU busy. Useful to test how other processes affects your app, and more. Currently, the app creates 4 threads and takes about ~8 seconds to complete. You can play with the values in the service to tweak that. Running the process is possible through the adb command:

adb shell am broadcast -a com.udinic.keepbusyapp.ACTION_KEEP_BUSY

Note: you must open the app's activity at least once before that, due to Android security measures to prevent apps from responding to broadcasts before opening the app for the first time.