commit | 1ce99576f0cf76a9cfe4176c0a4a2cb018568a52 | [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 | fc09fde6787026ac89c046b86803065a702ad08b | |
parent | 1b86d41c7844729768b2ffd096e1cded3c145a93 [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