Improve benchmarking around stringPrintf functions
authorChip Turner <chip@fb.com>
Thu, 11 Dec 2014 05:00:02 +0000 (21:00 -0800)
committerJoelMarcey <joelm@fb.com>
Thu, 18 Dec 2014 20:29:40 +0000 (12:29 -0800)
commit6a1addcce6b59b93aad1bed31adce268f3c56ae0
treea60b2b16c520db37374c4e24d433f6652bdc9897
parent61e26ae9a52ae2c66f752191cff76613feca5bbc
Improve benchmarking around stringPrintf functions

Summary:
Before optimizing this code, it is better to measure different
aspects of it to ensure improvements are worth it and don'tintroduce
other regressions.

This adds a new benchmark as well as parameterizes an old one.

Test Plan: run it

Reviewed By: lovro@fb.com

Subscribers: lins, anca, folly-diffs@

FB internal diff: D1733760

Tasks: 5735468

Signature: t1:1733760:1418313479:9f572d5a4cf014bd266d91d0f7a75407d1514f65
folly/test/StringTest.cpp