Skip to content

Commit

Permalink
chore: split ServerStreaming Benchmark to other VM [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Nov 5, 2024
1 parent a8d8fca commit dba05d7
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 2 deletions.
6 changes: 5 additions & 1 deletion perf/BenchmarkApp/configs/schedule.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
type: loader
# max 3 items are allowed
branch-configs:
- suffix: "" # suffix should be unique with others
branch: main
config: ./perf/BenchmarkApp/configs/schedule_config.yaml
config: ./perf/BenchmarkApp/configs/schedule_ci.yaml
- suffix: "-1"
branch: main
config: ./perf/BenchmarkApp/configs/schedule_serverstreaming.yaml
- suffix: "-2"
branch: feature/ImprovePerformance
config: ./perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c.yaml
File renamed without changes.
93 changes: 93 additions & 0 deletions perf/BenchmarkApp/configs/schedule_serverstreaming.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml
# config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh
apt-tools: "libmsquic"
dotnet-version: 8.0
benchmark-expire-min: 15
#benchmark-location: "japaneast"
benchmark-location: "eastus"
benchmark-timeout-min: 10
benchmark-client-run-script-path: ".github/scripts/benchmark-client-run.sh"
benchmark-client-run-script-args: '--run-args "-u http://${BENCHMARK_SERVER_NAME}:5000 --protocol {{ protocol }} -s ServerStreaming --rounds 3 --channels {{ channels }} --streams {{ streams }} --serialization {{ serialization }} --validate true --tags {{ tags }}" --build-args "{{ buildArgsClient }}"'
benchmark-server-run-script-path: ".github/scripts/benchmark-server-run.sh"
benchmark-server-run-script-args: '--run-args "-u http://0.0.0.0:5000 --protocol {{ protocol }} --serialization {{ serialization }} --validate true --tags {{ tags }}" --build-args "{{ buildArgsServer }}"'
benchmark-server-stop-script-path: ".github/scripts/benchmark-server-stop.sh"
jobs:
##### MessagePack #####
# h2c
- tags: legend:messagepack-h2c-linux,streams:1x1,protocol:h2c,serialization:messagepack
protocol: h2c
channels: 1
streams: 1
serialization: messagepack
- tags: legend:messagepack-h2c-linux,streams:1x28,protocol:h2c,serialization:messagepack
protocol: h2c
channels: 28
streams: 1
serialization: messagepack
- tags: legend:messagepack-h2c-linux,streams:28x1,protocol:h2c,serialization:messagepack
protocol: h2c
channels: 1
streams: 28
serialization: messagepack
- tags: legend:messagepack-h2c-linux,streams:70x1,protocol:h2c,serialization:messagepack
protocol: h2c
channels: 1
streams: 70
serialization: messagepack
- tags: legend:messagepack-h2c-linux,streams:70x28,protocol:h2c,serialization:messagepack
protocol: h2c
channels: 28
streams: 70
serialization: messagepack
# h2
- tags: legend:messagepack-h2-linux,streams:1x1,protocol:h2,serialization:messagepack
protocol: h2
channels: 1
streams: 1
serialization: messagepack
- tags: legend:messagepack-h2-linux,streams:1x28,protocol:h2,serialization:messagepack
protocol: h2
channels: 28
streams: 1
serialization: messagepack
- tags: legend:messagepack-h2-linux,streams:28x1,protocol:h2,serialization:messagepack
protocol: h2
channels: 1
streams: 28
serialization: messagepack
- tags: legend:messagepack-h2-linux,streams:70x1,protocol:h2,serialization:messagepack
protocol: h2
channels: 1
streams: 70
serialization: messagepack
- tags: legend:messagepack-h2-linux,streams:70x28,protocol:h2,serialization:messagepack
protocol: h2
channels: 28
streams: 70
serialization: messagepack
# h3
- tags: legend:messagepack-h3-linux,streams:1x1,protocol:h3,serialization:messagepack
protocol: h3
channels: 1
streams: 1
serialization: messagepack
- tags: legend:messagepack-h3-linux,streams:1x28,protocol:h3,serialization:messagepack
protocol: h3
channels: 28
streams: 1
serialization: messagepack
- tags: legend:messagepack-h3-linux,streams:28x1,protocol:h3,serialization:messagepack
protocol: h3
channels: 1
streams: 28
serialization: messagepack
- tags: legend:messagepack-h3-linux,streams:70x1,protocol:h3,serialization:messagepack
protocol: h3
channels: 1
streams: 70
serialization: messagepack
- tags: legend:messagepack-h3-linux,streams:70x28,protocol:h3,serialization:messagepack
protocol: h3
channels: 28
streams: 70
serialization: messagepack
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ benchmark-expire-min: 15
benchmark-location: "japaneast"
benchmark-timeout-min: 10
benchmark-client-run-script-path: ".github/scripts/benchmark-client-run.sh"
benchmark-client-run-script-args: '--run-args "-u http://${BENCHMARK_SERVER_NAME}:5000 --protocol {{ protocol }} -s ServerStreaming --rounds 10 --channels {{ channels }} --streams {{ streams }} --serialization {{ serialization }} --validate true --tags {{ tags }}" --build-args "{{ buildArgsClient }}"'
benchmark-client-run-script-args: '--run-args "-u http://${BENCHMARK_SERVER_NAME}:5000 --protocol {{ protocol }} -s ServerStreaming --rounds 3 --channels {{ channels }} --streams {{ streams }} --serialization {{ serialization }} --validate true --tags {{ tags }}" --build-args "{{ buildArgsClient }}"'
benchmark-server-run-script-path: ".github/scripts/benchmark-server-run.sh"
benchmark-server-run-script-args: '--run-args "-u http://0.0.0.0:5000 --protocol {{ protocol }} --serialization {{ serialization }} --validate true --tags {{ tags }}" --build-args "{{ buildArgsServer }}"'
benchmark-server-stop-script-path: ".github/scripts/benchmark-server-stop.sh"
Expand Down

0 comments on commit dba05d7

Please sign in to comment.