Skip to content
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

ci: add benchmark workflow #801

Merged
merged 17 commits into from
Jul 9, 2024
Merged

ci: add benchmark workflow #801

merged 17 commits into from
Jul 9, 2024

Conversation

guitarrapc
Copy link
Contributor

@guitarrapc guitarrapc commented Jul 2, 2024

tl;dr;

This PR brings benchmark GitHub Actions. You can run benchmark by following 2 way.

  1. Run from PR comment by type /benchmark.
  2. Run from Workflow Dispatch.

Benchmark Result

https://github.com/Cysharp/MagicOnion/actions/runs/9759967118/job/26955507954?pr=801

Benchmark configuration

repository config

  • branch: Specify git branch name to run Benchmark.
  • dotnet-version: Specify dotnet version to use.

server config

  • server-csproj: You need specify path to the Benchmark server csproj. path should be relative from repository Root.

client config

  • client-args-format: You can specify client arguments. Currently client-args-format: "-u http://{0}:5000 -s streaminghub --channels 1 --streams 1" is specified. ({0} will be replaced with server address.)
  • client-csproj: You need specify path to the Benchmark client csproj. path should be relative from repository Root.

@guitarrapc guitarrapc self-assigned this Jul 2, 2024
@guitarrapc guitarrapc requested review from mayuki and removed request for mayuki July 2, 2024 10:56
@guitarrapc guitarrapc force-pushed the benchmark branch 2 times, most recently from c3cfff4 to 713be8d Compare July 2, 2024 11:08
@mayuki mayuki merged commit 21b14de into main Jul 9, 2024
4 checks passed
@mayuki mayuki deleted the benchmark branch July 9, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants