Skip to content

Commit

Permalink
fix: Perfgate for Roma BYOB benchmarks
Browse files Browse the repository at this point in the history
Bug: N/A
Change-Id: I996cc4ea1d3d712eb140e376dfd1b18cbdc04766
GitOrigin-RevId: a5fbdfea7b544fd985b5d90382e575d9f947d45b
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Oct 25, 2024
1 parent c682034 commit 89cda02
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/roma/byob/benchmark/roma_byob_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -735,18 +735,6 @@ void BM_ProcessRequestDevNullVsLogBinary(benchmark::State& state) {
}
}

BENCHMARK(BM_ProcessRequestDevNullVsLogBinary)
->ArgsProduct({{
(int)Log::kLogToFile,
(int)Log::kLogToDevNull,
},
{
10,
100,
1000,
10'000,
}})
->ArgNames({"log", "num_logs"});
BENCHMARK(BM_LoadBinary)->Apply(LoadArguments)->ArgNames({"mode"});
BENCHMARK(BM_ProcessRequestCppVsGoLang)
->ArgsProduct({
Expand Down Expand Up @@ -781,6 +769,19 @@ BENCHMARK(BM_ProcessRequestSortList)
->Apply(ExecuteSortListArguments)
->ArgNames({"mode", "n_items"});

BENCHMARK(BM_ProcessRequestDevNullVsLogBinary)
->ArgsProduct({{
(int)Log::kLogToFile,
(int)Log::kLogToDevNull,
},
{
10,
100,
1000,
10'000,
}})
->ArgNames({"log", "num_logs"});

int main(int argc, char* argv[]) {
absl::InitializeLog();
benchmark::Initialize(&argc, argv);
Expand Down

0 comments on commit 89cda02

Please sign in to comment.