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

Add CI tests for benchmarks. #658

Merged
merged 5 commits into from
Dec 10, 2023

Conversation

shachlanAmazon
Copy link
Contributor

Issue #, if available:

Allow benchmarks to run in a minimal fashion, that shouldn't take a long while.
Add CI task for each language, so that benchmarks will run for it.
Add relevant file extensions for changes that should trigger CI for each language.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shachlanAmazon shachlanAmazon requested a review from a team as a code owner December 5, 2023 19:05
@shachlanAmazon shachlanAmazon force-pushed the ci-benchmark branch 2 times, most recently from 5113dd9 to 89cd507 Compare December 5, 2023 20:27
@shachlanAmazon shachlanAmazon force-pushed the ci-benchmark branch 5 times, most recently from 901e529 to 8173fd3 Compare December 6, 2023 18:28
fillDB $currentDataSize
if [ -z "$minimal" ];
then
flushDB
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why flushing the db?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a hack - we rely implicitly on building (npx tsc) the Js utilities folder before running the node benchmark, because they share types.

@shachlanAmazon shachlanAmazon merged commit 95d335a into valkey-io:main Dec 10, 2023
18 checks passed
@shachlanAmazon shachlanAmazon deleted the ci-benchmark branch December 12, 2023 05:41
@Yury-Fridlyand Yury-Fridlyand added the CI/CD CI/CD related label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD CI/CD related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants