-
Notifications
You must be signed in to change notification settings - Fork 43
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
Automate performance benchmarking #183
Comments
1 task
Thanks :) Here's the first pass at the automation - mxinden#2 |
8 tasks
First successful automation run on Thank you @galargh! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overarching tracking issue: #63
#163 allows running the various perf protocol implementations (libp2p/specs#478) on cloud instances.
Ideally we have a CI setup, that allows users to trigger the above. This removes the need for users to run it on their local machine.
Workflow
Starting point: libp2p implementation maintainer wants to test a new release candidate.
libp2p/test-plans
, adding their release candidate toperf/impl
.perf/terraform/user.pub
.cd perf/terraform && terraform apply
.cd perf/runner && npm run start -- --client-public-ip $(terraform output -raw -state ../terraform/terraform.tfstate client_public_ip) --server-public-ip $(terraform output -raw -state ../terraform/terraform.tfstate server_public_ip)
. This will write the benchmark results toperf/runner/benchmark-results.json
.cd perf/terraform && terraform destroy
.perf/runner/benchmark-results.json
to the pull request.libp2p/test-plans
pull request and retrigger the automation.libp2p/test-plans
pull request, retrigger the automation and merge. Thuslibp2p/testplans
master
branch always contains the latest benchmarking results.The text was updated successfully, but these errors were encountered: