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
6266b934
Commit
6266b934
authored
10 years ago
by
Vijay Pai
Browse files
Options
Downloads
Patches
Plain Diff
Sweep different parameter sets in a single shell script.
parent
fa6ea853
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/cpp/qps/qps-sweep.sh
+25
-0
25 additions, 0 deletions
test/cpp/qps/qps-sweep.sh
with
25 additions
and
0 deletions
test/cpp/qps/qps-sweep.sh
0 → 100755
+
25
−
0
View file @
6266b934
#!/bin/sh
if
[
x
"
$QPS_WORKERS
"
==
x
]
;
then
echo
Error: Must
set
QPS_WORKERS variable
in
form
\
"host:port,host:port,..."
1>&2
exit
1
fi
bins
=
`
find
.
.. ../.. ../../..
-name
bins |
head
-1
`
for
channels
in
1 2 4 8
do
for
client
in
SYNCHRONOUS_CLIENT ASYNC_CLIENT
do
for
server
in
SYNCHRONOUS_SERVER ASYNC_SERVER
do
for
rpc
in
UNARY STREAMING
do
echo
"Test
$rpc
$client
$server
,
$channels
channels"
"
$bins
"
/opt/qps_driver
--rpc_type
=
$rpc
\
--client_type
=
$client
--server_type
=
$server
done
done
done
done
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