Removed padding from from bench_formatters/all

This commit is contained in:
gabime 2018-11-25 01:12:12 +02:00
parent 4643f74a03
commit 1e385851d7

View File

@ -47,13 +47,13 @@ void bench_formatters()
{ {
auto pattern = std::string("%") + flag; auto pattern = std::string("%") + flag;
benchmark::RegisterBenchmark(pattern.c_str(), bench_formatter, pattern); benchmark::RegisterBenchmark(pattern.c_str(), bench_formatter, pattern);
// bench left padding
pattern = std::string("%16") + flag;
benchmark::RegisterBenchmark(pattern.c_str(), bench_formatter, pattern);
// bench center padding // pattern = std::string("%16") + flag;
pattern = std::string("%=16") + flag; // benchmark::RegisterBenchmark(pattern.c_str(), bench_formatter, pattern);
benchmark::RegisterBenchmark(pattern.c_str(), bench_formatter, pattern); //
// // bench center padding
// pattern = std::string("%=16") + flag;
// benchmark::RegisterBenchmark(pattern.c_str(), bench_formatter, pattern);
} }
// complex patterns // complex patterns