commit | cd2a5290137e1d55f6f16163ac58f39f28e40b00 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Mar 07 16:52:28 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Wed Apr 11 12:54:07 2018 -0700 |
tree | c4150b28fecf93e1d7e05f0f7825127643802305 | |
parent | 83d33f8f516fe1730d940fa850aed0b7120e72a2 [diff] |
adb: switch apacket payload to a type that doesn't initialize its contents. Switch from using std::string as the type we use to hold our payload in apacket to a custom reimplementation that doesn't zero initialize. This improves bulk transfer throughput in the adb_benchmark microbenchmark on walleye by ~20%. Test: adb shell taskset f0 /data/benchmarktest64/adb_benchmark/adb_benchmark Change-Id: Ibad797701eb1460c9321b0400c5b167b89b2b4d0