Add "short append" benchmark to fbstring benchmark suite.
authorJeremy Lilley <jeremyl@fb.com>
Thu, 9 Aug 2012 16:57:22 +0000 (09:57 -0700)
committerTudor Bosman <tudorb@fb.com>
Sun, 26 Aug 2012 18:12:13 +0000 (11:12 -0700)
commitbe7be7e244159b84c0a28d8082ef06f81cac83bc
treec69283cbfa2ac4002fe8aeae13634dfe50d31a5f
parent5d3f05bdb60f074eae1301e2ccb9b2a9a4e2a2b3
Add "short append" benchmark to fbstring benchmark suite.

Summary:
Appending many small strings to fbstring appears much slower (~3x) vs.
std::string. Adding benchmark case to illustrate.

[If this isn't wanted, I can revert]

Test Plan: This is a benchmark.

Reviewed By: soren@fb.com

FB internal diff: D544159
folly/test/FBStringTestBenchmarks.cpp.h