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
b423f579
Commit
b423f579
authored
7 years ago
by
ncteisen
Browse files
Options
Downloads
Patches
Plain Diff
Disambiguate trickle and normal bms
parent
6dc4c7f5
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/jenkins/run_performance.sh
+1
-1
1 addition, 1 deletion
tools/jenkins/run_performance.sh
tools/profiling/microbenchmarks/bm_diff/bm_main.py
+7
-2
7 additions, 2 deletions
tools/profiling/microbenchmarks/bm_diff/bm_main.py
with
8 additions
and
3 deletions
tools/jenkins/run_performance.sh
+
1
−
1
View file @
b423f579
...
@@ -20,4 +20,4 @@ set -ex
...
@@ -20,4 +20,4 @@ set -ex
cd
$(
dirname
$0
)
/../..
cd
$(
dirname
$0
)
/../..
tools/run_tests/start_port_server.py
tools/run_tests/start_port_server.py
tools/profiling/microbenchmarks/bm_diff/bm_main.py
-d
origin/
$ghprbTargetBranch
-b
bm_fullstack_trickle
-l
4
-t
cli_transport_stalls cli_stream_stalls svr_transport_stalls svr_stream_stalls
--no-counters
tools/profiling/microbenchmarks/bm_diff/bm_main.py
-d
origin/
$ghprbTargetBranch
-b
bm_fullstack_trickle
-l
4
-t
cli_transport_stalls cli_stream_stalls svr_transport_stalls svr_stream_stalls
--no-counters
--pr_comment_name
trickle
This diff is collapsed.
Click to expand it.
tools/profiling/microbenchmarks/bm_diff/bm_main.py
+
7
−
2
View file @
b423f579
...
@@ -80,6 +80,11 @@ def _args():
...
@@ -80,6 +80,11 @@ def _args():
type
=
int
,
type
=
int
,
default
=
multiprocessing
.
cpu_count
(),
default
=
multiprocessing
.
cpu_count
(),
help
=
'
Number of CPUs to use
'
)
help
=
'
Number of CPUs to use
'
)
argp
.
add_argument
(
'
--pr_comment_name
'
,
type
=
str
,
default
=
"
microbenchmarks
"
,
help
=
'
Name that Jenkins will use to commen on the PR
'
)
argp
.
add_argument
(
'
--counters
'
,
dest
=
'
counters
'
,
action
=
'
store_true
'
)
argp
.
add_argument
(
'
--counters
'
,
dest
=
'
counters
'
,
action
=
'
store_true
'
)
argp
.
add_argument
(
'
--no-counters
'
,
dest
=
'
counters
'
,
action
=
'
store_false
'
)
argp
.
add_argument
(
'
--no-counters
'
,
dest
=
'
counters
'
,
action
=
'
store_false
'
)
argp
.
set_defaults
(
counters
=
True
)
argp
.
set_defaults
(
counters
=
True
)
...
@@ -126,9 +131,9 @@ def main(args):
...
@@ -126,9 +131,9 @@ def main(args):
diff
,
note
=
bm_diff
.
diff
(
args
.
benchmarks
,
args
.
loops
,
args
.
track
,
old
,
diff
,
note
=
bm_diff
.
diff
(
args
.
benchmarks
,
args
.
loops
,
args
.
track
,
old
,
'
new
'
,
args
.
counters
)
'
new
'
,
args
.
counters
)
if
diff
:
if
diff
:
text
=
'
Performance differences noted:
\n
'
+
diff
text
=
'
[%s]
Performance differences noted:
\n
%s
'
%
(
args
.
pr_comment_name
,
diff
)
else
:
else
:
text
=
'
No significant performance differences
'
text
=
'
[%s]
No significant performance differences
'
%
args
.
pr_comment_name
if
note
:
if
note
:
text
=
note
+
'
\n\n
'
+
text
text
=
note
+
'
\n\n
'
+
text
print
(
'
%s
'
%
text
)
print
(
'
%s
'
%
text
)
...
...
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