Fix benchmarks.

PiperOrigin-RevId: 264501168
This commit is contained in:
Victor Costan
2019-08-20 17:08:45 -07:00
committed by Victor Costan
parent c6bf1170d8
commit 44d84addf2

View File

@@ -1479,8 +1479,9 @@ static void BM_ZFlatIncreasingTableSize(int iters, int arg) {
for (int i = 0; i < dst.size(); ++i) { for (int i = 0; i < dst.size(); ++i) {
delete[] dst[i]; delete[] dst[i];
} }
SetBenchmarkLabel(StringPrintf("%zd tables", contents.size()));
} }
BENCHMARK(BM_ZFlatIncreasingTableSize); BENCHMARK(BM_ZFlatIncreasingTableSize)->DenseRange(0, 0);
} // namespace snappy } // namespace snappy