Skip to content

Commit

Permalink
Use external benchmark API header
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 339310928
  • Loading branch information
leveldb Team authored and cmumford committed Nov 30, 2020
1 parent ed78107 commit 99ab473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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();
}

0 comments on commit 99ab473

Please sign in to comment.