commit | 4e43bbc34fd6e5426626aff877bfc1c56decb87e | [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 | 1428f0bfe168a97f9b240fb446e9eb5f36a08bf0 [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