Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
tci-gateway-module
Grpc
Commits
3f05c21f
Commit
3f05c21f
authored
7 years ago
by
ncteisen
Browse files
Options
Downloads
Patches
Plain Diff
Add timeout and retries to fix flakes
parent
3992a3a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/profiling/microbenchmarks/bm_diff/bm_diff.py
+1
-1
1 addition, 1 deletion
tools/profiling/microbenchmarks/bm_diff/bm_diff.py
tools/profiling/microbenchmarks/bm_diff/bm_run.py
+2
-1
2 additions, 1 deletion
tools/profiling/microbenchmarks/bm_diff/bm_run.py
with
3 additions
and
2 deletions
tools/profiling/microbenchmarks/bm_diff/bm_diff.py
+
1
−
1
View file @
3f05c21f
...
@@ -129,9 +129,9 @@ class Benchmark:
...
@@ -129,9 +129,9 @@ class Benchmark:
def
row
(
self
,
flds
):
def
row
(
self
,
flds
):
return
[
self
.
final
[
f
]
if
f
in
self
.
final
else
''
for
f
in
flds
]
return
[
self
.
final
[
f
]
if
f
in
self
.
final
else
''
for
f
in
flds
]
def
_read_json
(
filename
):
def
_read_json
(
filename
):
try
:
try
:
with
open
(
filename
)
as
f
:
with
open
(
filename
)
as
f
:
return
json
.
loads
(
f
.
read
())
return
json
.
loads
(
f
.
read
())
except
ValueError
,
e
:
except
ValueError
,
e
:
...
...
This diff is collapsed.
Click to expand it.
tools/profiling/microbenchmarks/bm_diff/bm_run.py
+
2
−
1
View file @
3f05c21f
...
@@ -107,7 +107,8 @@ def _collect_bm_data(bm, cfg, name, reps, idx, loops):
...
@@ -107,7 +107,8 @@ def _collect_bm_data(bm, cfg, name, reps, idx, loops):
shortname
=
'
%s %s %s %s %d/%d
'
%
(
bm
,
line
,
cfg
,
name
,
idx
+
1
,
shortname
=
'
%s %s %s %s %d/%d
'
%
(
bm
,
line
,
cfg
,
name
,
idx
+
1
,
loops
),
loops
),
verbose_success
=
True
,
verbose_success
=
True
,
timeout_seconds
=
None
))
timeout_seconds
=
60
*
10
,
timeout_retries
=
3
))
return
jobs_list
return
jobs_list
...
...
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