diff options
author | Elliott Hughes <enh@google.com> | 2020-04-29 14:10:12 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-04-29 14:10:12 -0700 |
commit | 8c253d4d42018d77b78de8f8c70c6204f5aa6d0e (patch) | |
tree | 0c1c7cd5e890bcd5201c1d98d087dd7ec7e6fa0d /trusty/coverage/coverage_test.cpp | |
parent | 6923de126745986d31b6fe4d0a76089b6c6942aa (diff) |
Avoid zero-initializing our most-used buffers.
The StringPrintf one is heavily used and brings the overhead versus
fmtlib down to 1.5x rather than 2x. I don't have a convenient benchmark
for the other two.
Test: libbase tests & benchmarks
Bug: http://b/155324241
Change-Id: I9e704a360846d5520c53f668e7c315b0c0ea55f8
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions