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
f9b90428
Commit
f9b90428
authored
7 years ago
by
Noah Eisen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #11269 from ncteisen/bm-trickle-bugfixes
Bugfix for bm_trickle
parents
bf2d87c8
a4cd06fc
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
test/cpp/microbenchmarks/bm_fullstack_trickle.cc
+6
-6
6 additions, 6 deletions
test/cpp/microbenchmarks/bm_fullstack_trickle.cc
tools/profiling/microbenchmarks/bm_json.py
+1
-1
1 addition, 1 deletion
tools/profiling/microbenchmarks/bm_json.py
with
7 additions
and
7 deletions
test/cpp/microbenchmarks/bm_fullstack_trickle.cc
+
6
−
6
View file @
f9b90428
...
@@ -419,18 +419,18 @@ static void BM_PumpUnbalancedUnary_Trickle(benchmark::State& state) {
...
@@ -419,18 +419,18 @@ static void BM_PumpUnbalancedUnary_Trickle(benchmark::State& state) {
}
}
static
void
UnaryTrickleArgs
(
benchmark
::
internal
::
Benchmark
*
b
)
{
static
void
UnaryTrickleArgs
(
benchmark
::
internal
::
Benchmark
*
b
)
{
// A selection of interesting numbers
const
int
cli_1024k
=
1024
*
1024
;
const
int
cli_1024k
=
1024
*
1024
;
const
int
cli_32M
=
32
*
1024
*
1024
;
const
int
cli_32M
=
32
*
1024
*
1024
;
const
int
svr_256k
=
256
*
1024
;
const
int
svr_256k
=
256
*
1024
;
const
int
svr_4M
=
4
*
1024
*
1024
;
const
int
svr_4M
=
4
*
1024
*
1024
;
const
int
svr_64M
=
64
*
1024
*
1024
;
const
int
svr_64M
=
64
*
1024
*
1024
;
for
(
int
bw
=
64
;
bw
<=
128
*
1024
*
1024
;
bw
*=
16
)
{
for
(
int
bw
=
64
;
bw
<=
128
*
1024
*
1024
;
bw
*=
16
)
{
b
->
Args
({
bw
,
cli_1024k
,
svr_256k
});
for
(
auto
svr
:
{
svr_256k
,
svr_4M
,
svr_64M
})
{
b
->
Args
({
bw
,
cli_1024k
,
svr_4M
});
for
(
auto
cli
:
{
cli_1024k
,
cli_32M
})
{
b
->
Args
({
bw
,
cli_1024k
,
svr_64M
});
b
->
Args
({
cli
,
svr
,
bw
});
b
->
Args
({
bw
,
cli_32M
,
svr_256k
});
}
b
->
Args
({
bw
,
cli_32M
,
svr_4M
});
}
b
->
Args
({
bw
,
cli_32M
,
svr_64M
});
}
}
}
}
BENCHMARK
(
BM_PumpUnbalancedUnary_Trickle
)
->
Apply
(
UnaryTrickleArgs
);
BENCHMARK
(
BM_PumpUnbalancedUnary_Trickle
)
->
Apply
(
UnaryTrickleArgs
);
...
...
This diff is collapsed.
Click to expand it.
tools/profiling/microbenchmarks/bm_json.py
+
1
−
1
View file @
f9b90428
...
@@ -56,7 +56,7 @@ _BM_SPECS = {
...
@@ -56,7 +56,7 @@ _BM_SPECS = {
},
},
'
BM_PumpUnbalancedUnary_Trickle
'
:
{
'
BM_PumpUnbalancedUnary_Trickle
'
:
{
'
tpl
'
:
[],
'
tpl
'
:
[],
'
dyn
'
:
[
'
request
_size
'
,
'
bandwidth_kilobits
'
],
'
dyn
'
:
[
'
cli_req_size
'
,
'
svr_req
_size
'
,
'
bandwidth_kilobits
'
],
},
},
'
BM_ErrorStringOnNewError
'
:
{
'
BM_ErrorStringOnNewError
'
:
{
'
tpl
'
:
[
'
fixture
'
],
'
tpl
'
:
[
'
fixture
'
],
...
...
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