Skip to content
Snippets Groups Projects
Commit 636e5198 authored by Krzysztof Mochocki's avatar Krzysztof Mochocki Committed by Krzysztof Mochocki
Browse files

CSV can be passed as path to banchmark script

parent 8402a369
No related branches found
No related tags found
1 merge request!253Add template for benchmarking
...@@ -175,8 +175,8 @@ if CSV_FILENAME in AVAILA_CSV: ...@@ -175,8 +175,8 @@ if CSV_FILENAME in AVAILA_CSV:
CSV_MODE: CSV.MODE = AVAILA_CSV[CSV_FILENAME][1] CSV_MODE: CSV.MODE = AVAILA_CSV[CSV_FILENAME][1]
CSV_PATH: Path = AVAILA_CSV[CSV_FILENAME][0] CSV_PATH: Path = AVAILA_CSV[CSV_FILENAME][0]
else: else:
assert Path(CSV_FILENAME).exists() CSV_PATH = Path(CSV_FILENAME)
CSV_PATH = CSV_FILENAME assert CSV_PATH.exists()
CSV_MODE: CSV.MODE = (CSV.MODE.PERF if CSV_PATH.name.startswith('perf') else CSV.MODE.CL) CSV_MODE: CSV.MODE = (CSV.MODE.PERF if CSV_PATH.name.startswith('perf') else CSV.MODE.CL)
# process postgresql conection string to fill jdbc requirements # process postgresql conection string to fill jdbc requirements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment