summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.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-05 19:48:11 -0800
commit64ff82ba68d9c3e169af123943ad29f95f71febf (patch)
treeef3e9de706f75d364157f894bd4eead3428cd972 /trusty/coverage/coverage.cpp
parente7e778bdefad4990cbca13b3fe3427c6f9500f57 (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
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions