Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tests_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
tests_api
Commits
636e5198
Commit
636e5198
authored
2 years ago
by
Krzysztof Mochocki
Committed by
Krzysztof Mochocki
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
CSV can be passed as path to banchmark script
parent
8402a369
No related branches found
Branches containing commit
No related tags found
1 merge request
!253
Add template for benchmarking
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/benchmark.py
+2
-2
2 additions, 2 deletions
benchmarks/benchmark.py
with
2 additions
and
2 deletions
benchmarks/benchmark.py
+
2
−
2
View file @
636e5198
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment