summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleveldb Team <no-reply@google.com>2020-10-27 12:59:41 -0700
committerChris Mumford <cmumford@chromium.org>2020-11-30 09:10:59 -0800
commit99ab4730d62444099dbd1ea9c402e15f4aad0728 (patch)
tree01694f3719a99b7138a4679848ead9b5ef6946e3
parented781070b42f368ea2c914158528848143f92684 (diff)
downloadleveldb-99ab4730d62444099dbd1ea9c402e15f4aad0728.tar.gz
Use external benchmark API header
PiperOrigin-RevId: 339310928
-rw-r--r--db/db_test.cc4
1 files 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 <atomic>
#include <string>
-#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();
}