一个用于显示来自编排器的 FPS 和两个或多个帧丢失的时间百分比的 Android 库
TinyDancer is deprecated. No more development will be taking place. Check out the Google Android developer documentation for UI performance testing
A real time frames per second measuring library for Android that also shows a color coded metric. This metric is based on percentage of time spent when you have dropped 2 or more frames. If the application spends more than 5% in this state then the color turns yellow, when you have reached the 20% threshold the indicator turns red.
New Double tap overlay to hide!
“Perf Matters” - Random Guy at Meetup
Tiny Dancer min sdk is API 16
Unfortunately this will not work on Android TV
In your build.gradle:
dependencies {
debugCompile "com.github.brianPlummer:tinydancer:0.1.2"
releaseCompile "com.github.brianPlummer:tinydancer-noop:0.1.2"
testCompile "com.github.brianPlummer:tinydancer-noop:0.1.2"
}In your DebugApplication class:
…You're good to go! Tiny Dancer will show a small draggable view overlay with FPS as well as a color indicator of when FPS drop. You can double tap the overlay to explicitly hide it.
See sample application that simulates excessive bind time:
Have an project with performance issues? We'd be happy to help tune it. [email protected]
暂无开放 Issues,或尚未同步最近议题。