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
4cc8a172
Commit
4cc8a172
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Tweaks
parent
206d59a5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/cpp/qps/smoke_test.cc
+7
-4
7 additions, 4 deletions
test/cpp/qps/smoke_test.cc
test/cpp/qps/smoke_test.sh
+1
-1
1 addition, 1 deletion
test/cpp/qps/smoke_test.sh
third_party/openssl
+1
-1
1 addition, 1 deletion
third_party/openssl
with
9 additions
and
6 deletions
test/cpp/qps/smoke_test.cc
+
7
−
4
View file @
4cc8a172
...
...
@@ -39,6 +39,9 @@
namespace
grpc
{
namespace
testing
{
static
const
int
WARMUP
=
5
;
static
const
int
BENCHMARK
=
10
;
static
void
RunSynchronousUnaryPingPong
()
{
gpr_log
(
GPR_INFO
,
"Running Synchronous Unary Ping Pong"
);
...
...
@@ -55,7 +58,7 @@ static void RunSynchronousUnaryPingPong() {
server_config
.
set_enable_ssl
(
false
);
server_config
.
set_threads
(
1
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
30
,
120
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
WARMUP
,
BENCHMARK
);
gpr_log
(
GPR_INFO
,
"QPS: %.1f"
,
result
.
latencies
.
Count
()
/
...
...
@@ -84,7 +87,7 @@ static void RunSynchronousStreamingPingPong() {
server_config
.
set_enable_ssl
(
false
);
server_config
.
set_threads
(
1
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
30
,
120
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
WARMUP
,
BENCHMARK
);
gpr_log
(
GPR_INFO
,
"QPS: %.1f"
,
result
.
latencies
.
Count
()
/
...
...
@@ -114,7 +117,7 @@ static void RunAsyncUnaryPingPong() {
server_config
.
set_enable_ssl
(
false
);
server_config
.
set_threads
(
1
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
30
,
120
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
WARMUP
,
BENCHMARK
);
gpr_log
(
GPR_INFO
,
"QPS: %.1f"
,
result
.
latencies
.
Count
()
/
...
...
@@ -144,7 +147,7 @@ static void RunQPS() {
server_config
.
set_enable_ssl
(
false
);
server_config
.
set_threads
(
4
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
30
,
120
);
auto
result
=
RunScenario
(
client_config
,
1
,
server_config
,
1
,
WARMUP
,
BENCHMARK
);
auto
qps
=
result
.
latencies
.
Count
()
/
...
...
This diff is collapsed.
Click to expand it.
test/cpp/qps/smoke_test.sh
+
1
−
1
View file @
4cc8a172
...
...
@@ -8,7 +8,7 @@ cd $(dirname $0)/../../..
killall qps_worker
||
true
config
=
dbg
config
=
opt
NUMCPUS
=
`
python2.7
-c
'import multiprocessing; print multiprocessing.cpu_count()'
`
...
...
This diff is collapsed.
Click to expand it.
openssl
@
4ac03295
Compare
3df69d3a
...
4ac03295
Subproject commit
3df69d3aefde7671053d4e3c242b228e5d79c83f
Subproject commit
4ac0329582829f5378d8078c8d314ad37db87736
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