Skip to content

Commit

Permalink
add main block for benchmark script
Browse files Browse the repository at this point in the history
  • Loading branch information
RLKRo committed Oct 18, 2024
1 parent 96ebd44 commit ab266ea
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions utils/db_benchmark/benchmark_dbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
}


for db_name, db_uri in dbs.items():
benchmark_all(
benchmark_dir / f"{db_name}.json",
db_name,
description="Basic configs",
db_uri=db_uri,
benchmark_configs=basic_configurations,
)
if __name__ == "__main__":
for db_name, db_uri in dbs.items():
benchmark_all(
benchmark_dir / f"{db_name}.json",
db_name,
description="Basic configs",
db_uri=db_uri,
benchmark_configs=basic_configurations,
)

0 comments on commit ab266ea

Please sign in to comment.