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

Introduce benchmark test #762

Merged
merged 3 commits into from Apr 4, 2022
Merged

Introduce benchmark test #762

merged 3 commits into from Apr 4, 2022

Conversation

idoru
Copy link
Contributor

@idoru idoru commented Mar 29, 2022

Changes proposed by this PR

Add a benchmark test that can be run repeatedly against a cluster with Cartographer installed and measure CPU and Memory consumption.

For a quick test, install a Cartographer release and metrics-server [1] on a cluster, make it your current kubectl context and then run:

CARTO_BENCH_N_SUPPLY_CHAINS=1 CARTO_BENCH_N_WORKLOADS=1 CARTO_BENCH_N_RUNNABLES=2 CARTO_BENCH_N_RUNNABLE_RUNS=3 go run -modfile hack/tools/go.mod github.com/onsi/ginkgo/ginkgo -r benchmark

For something bigger, see ./hack/benchmark.sh

provides tooling around to support #148

PR Checklist

  • Linked to a relevant issue. Eg: Fixes #123 or Updates #123
  • Removed non-atomic or wip commits
  • Filled in the Release Note section above

@netlify
Copy link

netlify bot commented Mar 29, 2022

Deploy Preview for elated-stonebraker-105904 canceled.

Name Link
🔨 Latest commit 6bbcde4
🔍 Latest deploy log https://app.netlify.com/sites/elated-stonebraker-105904/deploys/624b324224112e0008293098

@idoru idoru force-pushed the 148-real-benchmark branch 2 times, most recently from 2913701 to 9934a14 Compare March 29, 2022 14:34
@idoru idoru mentioned this pull request Mar 29, 2022
2 tasks
@idoru idoru force-pushed the 148-real-benchmark branch 2 times, most recently from a50e1f5 to 2ed8fe8 Compare April 4, 2022 17:41
@idoru idoru merged commit da2a6a6 into main Apr 4, 2022
@idoru idoru deleted the 148-real-benchmark branch April 4, 2022 19:02
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

4 participants