From 99ab4730d62444099dbd1ea9c402e15f4aad0728 Mon Sep 17 00:00:00 2001 From: leveldb Team Date: Tue, 27 Oct 2020 12:59:41 -0700 Subject: [PATCH] Use external benchmark API header PiperOrigin-RevId: 339310928 --- db/db_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_test.cc b/db/db_test.cc index 22ac292..8cab018 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -7,8 +7,8 @@ #include #include -#include "testing/base/public/benchmark.h" #include "gtest/gtest.h" +#include "third_party/benchmark/include/benchmark/benchmark.h" #include "db/db_impl.h" #include "db/filename.h" #include "db/version_set.h" @@ -2298,6 +2298,6 @@ BENCHMARK(BM_LogAndApply)->Arg(1)->Arg(100)->Arg(10000)->Arg(100000); int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); - RunSpecifiedBenchmarks(); + benchmark::RunSpecifiedBenchmarks(); return RUN_ALL_TESTS(); }