Denoise hermetric surfaceflinger perf tests
Remove overheard by disabling features during the test including: - perfetto tracing - region sampling by hiding navbar - transaction tracing Reduce variations between each frame by - forcing max frame rate (avoids any frame misses) - consuming transform hint (avoids gpu comp) - starting simpleperf after test setup to move test activity launch outside of measurement window Test: atest android.surfaceflinger.SurfaceFlingerPerfTest Bug: 298240242 Change-Id: Ida7422c37b9afa323147949c9776c042ca97cd08
Showing
- apct-tests/perftests/surfaceflinger/Android.bp 1 addition, 0 deletionsapct-tests/perftests/surfaceflinger/Android.bp
- apct-tests/perftests/surfaceflinger/AndroidManifest.xml 3 additions, 1 deletionapct-tests/perftests/surfaceflinger/AndroidManifest.xml
- apct-tests/perftests/surfaceflinger/AndroidTest.xml 2 additions, 9 deletionsapct-tests/perftests/surfaceflinger/AndroidTest.xml
- apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/BufferFlinger.java 17 additions, 5 deletions...faceflinger/src/android/surfaceflinger/BufferFlinger.java
- apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/SurfaceFlingerPerfTest.java 62 additions, 6 deletions...er/src/android/surfaceflinger/SurfaceFlingerPerfTest.java
- apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/SurfaceFlingerTestActivity.java 15 additions, 0 deletions...rc/android/surfaceflinger/SurfaceFlingerTestActivity.java
Please register or sign in to comment