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
299f97f8
Commit
299f97f8
authored
9 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
make wrapped languages scenarios secure by default
parent
1a311684
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
tools/run_tests/performance/scenario_config.py
+8
-7
8 additions, 7 deletions
tools/run_tests/performance/scenario_config.py
with
8 additions
and
7 deletions
tools/run_tests/performance/scenario_config.py
+
8
−
7
View file @
299f97f8
...
@@ -34,6 +34,9 @@ WARMUP_SECONDS=5
...
@@ -34,6 +34,9 @@ WARMUP_SECONDS=5
JAVA_WARMUP_SECONDS
=
15
# Java needs more warmup time for JIT to kick in.
JAVA_WARMUP_SECONDS
=
15
# Java needs more warmup time for JIT to kick in.
BENCHMARK_SECONDS
=
30
BENCHMARK_SECONDS
=
30
SECURE_SECARGS
=
{
'
use_test_ca
'
:
True
,
'
server_host_override
'
:
'
foo.test.google.fr
'
}
HISTOGRAM_PARAMS
=
{
HISTOGRAM_PARAMS
=
{
'
resolution
'
:
0.01
,
'
resolution
'
:
0.01
,
'
max_possible
'
:
60e9
,
'
max_possible
'
:
60e9
,
...
@@ -82,8 +85,7 @@ class CXXLanguage:
...
@@ -82,8 +85,7 @@ class CXXLanguage:
for
secure
in
[
True
,
False
]:
for
secure
in
[
True
,
False
]:
if
secure
:
if
secure
:
secstr
=
'
secure
'
secstr
=
'
secure
'
secargs
=
{
'
use_test_ca
'
:
True
,
secargs
=
SECURE_SECARGS
'
server_host_override
'
:
'
foo.test.google.fr
'
}
else
:
else
:
secstr
=
'
insecure
'
secstr
=
'
insecure
'
secargs
=
None
secargs
=
None
...
@@ -325,8 +327,7 @@ class CSharpLanguage:
...
@@ -325,8 +327,7 @@ class CSharpLanguage:
return
100
return
100
def
scenarios
(
self
):
def
scenarios
(
self
):
# TODO(jtattermusch): add more scenarios
secargs
=
SECURE_SECARGS
secargs
=
None
yield
{
yield
{
'
name
'
:
'
csharp_protobuf_async_streaming_qps_unconstrained
'
,
'
name
'
:
'
csharp_protobuf_async_streaming_qps_unconstrained
'
,
'
num_servers
'
:
1
,
'
num_servers
'
:
1
,
...
@@ -478,7 +479,7 @@ class NodeLanguage:
...
@@ -478,7 +479,7 @@ class NodeLanguage:
def
scenarios
(
self
):
def
scenarios
(
self
):
# TODO(jtattermusch): add more scenarios
# TODO(jtattermusch): add more scenarios
secargs
=
None
secargs
=
SECURE_SECARGS
yield
{
yield
{
'
name
'
:
'
node_protobuf_unary_ping_pong
'
,
'
name
'
:
'
node_protobuf_unary_ping_pong
'
,
'
num_servers
'
:
1
,
'
num_servers
'
:
1
,
...
@@ -524,7 +525,7 @@ class RubyLanguage:
...
@@ -524,7 +525,7 @@ class RubyLanguage:
def
scenarios
(
self
):
def
scenarios
(
self
):
# TODO(jtattermusch): add more scenarios
# TODO(jtattermusch): add more scenarios
secargs
=
None
secargs
=
SECURE_SECARGS
yield
{
yield
{
'
name
'
:
'
ruby_protobuf_unary_ping_pong
'
,
'
name
'
:
'
ruby_protobuf_unary_ping_pong
'
,
'
num_servers
'
:
1
,
'
num_servers
'
:
1
,
...
@@ -572,7 +573,7 @@ class JavaLanguage:
...
@@ -572,7 +573,7 @@ class JavaLanguage:
# TODO(jtattermusch): add more scenarios
# TODO(jtattermusch): add more scenarios
secargs
=
None
secargs
=
None
yield
{
yield
{
'
name
'
:
'
java_protobuf_unary_ping_pong
'
,
'
name
'
:
'
java_protobuf_unary_ping_pong
_insecure
'
,
'
num_servers
'
:
1
,
'
num_servers
'
:
1
,
'
num_clients
'
:
1
,
'
num_clients
'
:
1
,
'
client_config
'
:
{
'
client_config
'
:
{
...
...
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