可能重复:
How to test the performance of an Android application?
android源代码中关于启动性能的测试用例正在扩展android.test.LaunchPerformanceBase,但我无法在我的应用程序测试用例中使用该类.有人知道如何利用那门课吗?
这些性能测试用例存在于开发/应用程序/launchperf中,请查看这些测试用例并给我一个想法。
发布于 2009-12-31 14:19:00
如果这个类在SDK中是不可公开的(而它不是),那么它实际上并不适合使用。
有关Android性能测试的一些信息,您可以参考这个问题:
How to test the performance of an Android application?
这应该允许您测量应用程序性能的特定部分,包括其启动性能。
https://stackoverflow.com/questions/1984965
复制相似问题