summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-03-05 17:58:53 -0800
committerJosh Gao <jmgao@google.com>2020-03-09 18:57:15 -0700
commit6519ad63551d97a015fed52597232fd19e683aed (patch)
treeab0af126ad0ef7428d3dd07a899b0399c1c6547d /trusty/coverage/coverage_test.cpp
parent7a287d075129bbe058f8df666ead2a0e5c5c5c2b (diff)
adb: defer acknowledgement of pushed files until the end.
Previously, we were waiting for the other end to respond after every file sent, which results in massive slowdown when there's any amount of latency on the transport. This improves performance on a cuttlefish instance with ~7ms RTT from: system/: 2037 files pushed, 0 skipped. 2.8 MB/s (762803979 bytes in 262.964s) to: system/: 2037 files pushed, 0 skipped. 11.9 MB/s (762803979 bytes in 61.278s) Bug: https://issuetracker.google.com/150827486 Test: ./test_device.py Change-Id: I3a0c893faa5d455cc6ccbc86915a17e1b5abbfbe (cherry picked from commit 64ff82ba68d9c3e169af123943ad29f95f71febf)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions