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
68577261
Commit
68577261
authored
2 years ago
by
Krzysztof Mochocki
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused imports
parent
d74da9da
No related branches found
No related tags found
1 merge request
!251
Add and refactor input files for benchmarking
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/benchmark.py
+2
-4
2 additions, 4 deletions
benchmarks/benchmark.py
with
2 additions
and
4 deletions
benchmarks/benchmark.py
+
2
−
4
View file @
68577261
#!/usr/bin/python3
#!/usr/bin/python3
import
html
import
logging
import
logging
import
os
import
sys
import
sys
from
argparse
import
ArgumentParser
from
argparse
import
ArgumentParser
from
dataclasses
import
dataclass
from
dataclasses
import
dataclass
...
@@ -13,13 +11,13 @@ from re import compile, match
...
@@ -13,13 +11,13 @@ from re import compile, match
from
shutil
import
rmtree
,
copy2
as
copy_file
from
shutil
import
rmtree
,
copy2
as
copy_file
from
subprocess
import
PIPE
,
STDOUT
,
Popen
from
subprocess
import
PIPE
,
STDOUT
,
Popen
from
time
import
sleep
from
time
import
sleep
from
typing
import
Any
,
Dict
,
List
,
Tuple
from
typing
import
Dict
,
List
from
urllib.parse
import
urlencode
,
urlparse
from
urllib.parse
import
urlencode
,
urlparse
from
prettytable
import
PrettyTable
from
prettytable
import
PrettyTable
from
requests
import
post
from
requests
import
post
LOG_LEVEL
=
logging
.
DEBUG
if
'
DEBUG
'
in
os
.
environ
else
logging
.
INFO
LOG_LEVEL
=
logging
.
DEBUG
if
'
DEBUG
'
in
environ
else
logging
.
INFO
LOG_FORMAT
=
"
%(asctime)-15s - %(name)s - %(levelname)s - %(message)s
"
LOG_FORMAT
=
"
%(asctime)-15s - %(name)s - %(levelname)s - %(message)s
"
def
configure_logger
():
def
configure_logger
():
...
...
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