Simple demonstrations of performance issues. Using these examples will allow practicing performance analyzing tools, such as Systrace, Traceview and more.
Java
Permalink
Failed to load latest commit information.
app updated version code Sep 6, 2015
gradle/wrapper
graphics minor Sep 6, 2015
keepbusyapp Small fixes. Added more doc. Aug 31, 2015
.gitignore minor Sep 6, 2015
LICENSE Initial commit Aug 31, 2015
README.md Update README.md Aug 31, 2015
build.gradle initial Jun 30, 2015
gradle.properties
gradlew initial Jun 30, 2015
gradlew.bat initial Jun 30, 2015
settings.gradle Added code to show Overdraw. Aug 31, 2015

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.