Skip to content

gRPC AOT scenarios #1761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions build/grpc-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,41 @@ parameters:
default:

- displayName: "ASP.NET Core - Client: Grpc.Net.Client"
arguments: --scenario grpcaspnetcoreserver-grpcnetclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcnetclient --application.options.collectCounters true
arguments: --scenario grpcaspnetcoreserver-grpcnetclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcnetclient --property aot=false --application.options.collectCounters true
- displayName: "ASP.NET Core - Client: Go"
arguments: --scenario grpcaspnetcoreserver-grpcgoclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcgoclient --application.options.collectCounters true
arguments: --scenario grpcaspnetcoreserver-grpcgoclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcgoclient --property aot=false --application.options.collectCounters true

- displayName: "ASP.NET Core AOT - Client: Grpc.Net.Client AOT"
arguments: --scenario grpcaspnetcoreserver-grpcnetclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcnetclient --property aot=true --application.options.collectCounters true --application.buildArguments \"/p:PublishAot=true\" --load.buildArguments \"/p:PublishAot=true\"
- displayName: "ASP.NET Core AOT - Client: Go"
arguments: --scenario grpcaspnetcoreserver-grpcgoclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcgoclient --property aot=true --application.options.collectCounters true --application.buildArguments \"/p:PublishAot=true\" --load.buildArguments \"/p:PublishAot=true\"

- displayName: "Go - Client: Grpc.Net.Client"
arguments: --scenario grpcgoserver-grpcnetclient $(grpcJobs) --property server=grpcgoserver --property client=grpcnetclient
arguments: --scenario grpcgoserver-grpcnetclient $(grpcJobs) --property server=grpcgoserver --property client=grpcnetclient --property aot=false
- displayName: "Go - Client: Go"
arguments: --scenario grpcgoserver-grpcgoclient $(grpcJobs) --property server=grpcgoserver --property client=grpcgoclient
arguments: --scenario grpcgoserver-grpcgoclient $(grpcJobs) --property server=grpcgoserver --property client=grpcgoclient --property aot=false

# H2Load scenarios
- name: h2loadscenarios
type: object
default:

- displayName: "ASP.NET Core - Client: h2load"
arguments: --scenario grpcaspnetcoreserver-h2loadclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=h2loadclient --application.options.collectCounters true
arguments: --scenario grpcaspnetcoreserver-h2loadclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=h2loadclient --property aot=false --application.options.collectCounters true
- displayName: "ASP.NET Core AOT - Client: h2load"
arguments: --scenario grpcaspnetcoreserver-h2loadclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=h2loadclient --property aot=true --application.options.collectCounters true --application.buildArguments \"/p:PublishAot=true\"
- displayName: "Go - Client: h2load"
arguments: --scenario grpcgoserver-h2loadclient $(grpcJobs) --property server=grpcgoserver --property client=h2loadclient
arguments: --scenario grpcgoserver-h2loadclient $(grpcJobs) --property server=grpcgoserver --property client=h2loadclient --property aot=false

# grpc-net only scenarios
- name: grpcnetscenarios
type: object
default:

- displayName: "ASP.NET Core - Client: Grpc.Net.Client"
arguments: --scenario grpcaspnetcoreserver-grpcnetclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcnetclient --application.options.collectCounters true
arguments: --scenario grpcaspnetcoreserver-grpcnetclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcnetclient --property aot=false --application.options.collectCounters true
- displayName: "ASP.NET Core AOT - Client: Grpc.Net.Client AOT"
arguments: --scenario grpcaspnetcoreserver-grpcnetclient $(grpcJobs) --property server=grpcaspnetcoreserver --property client=grpcnetclient --property aot=true --application.options.collectCounters true --application.buildArguments \"/p:PublishAot=true\" --load.buildArguments \"/p:PublishAot=true\"

- name: callTypes
type: object
Expand Down Expand Up @@ -74,14 +83,12 @@ parameters:
- name: connectionStreams
type: object
default:
- displayName: "Streams: 1"
arguments: --variable streams=1 --variable connections=$(h2loadConnectionsCount) --variable threads=$(h2loadConnectionsCount) --property streams=1
- displayName: "Streams: 1x1"
arguments: --variable streams=1 --variable connections=1 --variable threads=1 --property streams=1x1
- displayName: "Streams: 70"
arguments: --variable streams=70 --variable connections=$(h2loadConnectionsCount) --variable threads=$(h2loadConnectionsCount) --property streams=70
- displayName: "Streams: 70x1"
arguments: --variable streams=70 --variable connections=1 --variable threads=1 --property streams=70x1
- displayName: "Streams: 70"
arguments: --variable streams=70 --variable connections=$(h2loadConnectionsCount) --variable threads=$(h2loadConnectionsCount) --property streams=70

steps:
# h2c h2load unary to various servers
Expand Down