summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2019-01-22 17:59:48 -0800
committerFelipe Leme <felipeal@google.com>2019-01-25 09:47:27 -0800
commit26cbd718964d2a5474e97e5385e733452283cec4 (patch)
tree853bfe236c39107db687400ab9a8442bd584d839 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent3175839d6c604e3f5481b7614d94be52d7593543 (diff)
Post expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage.
onProvideContentCaptureStructure() doesn't take much for only 1 view, but it's called for all views the first time the view hiearchy is laid off, which could acccumulative delay the initial layout. Hence, we're postponing it to a later stage - it might still cost a lost frame (or more), but that jank cost would only happen after the 1st layout. Using this change, the impact on cold-dropcache-test dropped about 50% (from ~2ms to ~1ms). Bug: 123307965 Bug: 121039624 Test: atest ContentCaptureSession Test: atest google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-test Change-Id: I68b98b2894d23309af90d87cc99280f133557252
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions