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 benchmarks #505

Merged
merged 11 commits into from
Oct 10, 2024
Merged

ci: add benchmarks #505

merged 11 commits into from
Oct 10, 2024

Conversation

flemzord
Copy link
Member

@flemzord flemzord commented Oct 9, 2024

No description provided.

@flemzord flemzord requested a review from a team as a code owner October 9, 2024 21:10
@flemzord flemzord changed the base branch from main to feat/ledger-stateless October 9, 2024 21:11
Add a new 'Benchmark' job in the GitHub Actions workflow to run
performance tests and generate graphs. Save the test report as
an artifact in the Earthfile. The job runs on 'github-001' and
triggers on PRs labeled 'benchmarks' or on the main branch.
Remove the line saving the test report artifact locally, as it is
unnecessary for the current performance testing setup.
Create a new benchmark.yml for the benchmark job. Remove the
benchmark job from main.yml. This organizes workflows better
by separating concerns.
Add a new 'ci' target in Earthfile for local performance testing.
Update the benchmark workflow to use the new 'ci' step and upgrade
actions/upload-artifact to v4.
Add sudo to the systemctl restart command to ensure proper
permissions are granted when restarting the ledger service
during performance tests.
…hmark workflow

Remove redundant ci block from Earthfile and update the GitHub
Actions benchmark workflow to execute the 'run' target with
appropriate arguments.
…hmark workflow

Remove redundant ci block from Earthfile and update the GitHub
Actions benchmark workflow to execute the 'run' target with
appropriate arguments.
Update the command to start `ledger serve` without using `systemctl`.
Add a command to kill the server process after benchmarking.
@flemzord flemzord merged commit fbf3b5e into feat/ledger-stateless Oct 10, 2024
7 checks passed
@flemzord flemzord deleted the ci-add-benchmarks branch October 10, 2024 15:05
gfyrag pushed a commit that referenced this pull request Oct 16, 2024
* feat(performance): add benchmark step to CI workflow

Add a new 'Benchmark' job in the GitHub Actions workflow to run
performance tests and generate graphs. Save the test report as
an artifact in the Earthfile. The job runs on 'github-001' and
triggers on PRs labeled 'benchmarks' or on the main branch.

* remove unnecessary dependency from Benchmark job in GitHub Actions

* perf(performance): remove artifact saving from Earthfile

Remove the line saving the test report artifact locally, as it is
unnecessary for the current performance testing setup.

* refactor(workflows): move benchmark job to a separate workflow

Create a new benchmark.yml for the benchmark job. Remove the
benchmark job from main.yml. This organizes workflows better
by separating concerns.

* feat: add CI step for performance testing and update benchmark workflow

Add a new 'ci' target in Earthfile for local performance testing.
Update the benchmark workflow to use the new 'ci' step and upgrade
actions/upload-artifact to v4.

* fix(performance): add sudo to systemctl restart in Earthfile

Add sudo to the systemctl restart command to ensure proper
permissions are granted when restarting the ledger service
during performance tests.

* refactor(performance): remove ci block from Earthfile and update benchmark workflow

Remove redundant ci block from Earthfile and update the GitHub
Actions benchmark workflow to execute the 'run' target with
appropriate arguments.

* refactor(performance): remove ci block from Earthfile and update benchmark workflow

Remove redundant ci block from Earthfile and update the GitHub
Actions benchmark workflow to execute the 'run' target with
appropriate arguments.

* fix(workflow): remove sudo from systemctl command in benchmark.yml

* fix(workflow): remove sudo from systemctl command in benchmark.yml

* fix(workflow): update benchmark server start and stop commands

Update the command to start `ledger serve` without using `systemctl`.
Add a command to kill the server process after benchmarking.
gfyrag pushed a commit that referenced this pull request Oct 23, 2024
* feat(performance): add benchmark step to CI workflow

Add a new 'Benchmark' job in the GitHub Actions workflow to run
performance tests and generate graphs. Save the test report as
an artifact in the Earthfile. The job runs on 'github-001' and
triggers on PRs labeled 'benchmarks' or on the main branch.

* remove unnecessary dependency from Benchmark job in GitHub Actions

* perf(performance): remove artifact saving from Earthfile

Remove the line saving the test report artifact locally, as it is
unnecessary for the current performance testing setup.

* refactor(workflows): move benchmark job to a separate workflow

Create a new benchmark.yml for the benchmark job. Remove the
benchmark job from main.yml. This organizes workflows better
by separating concerns.

* feat: add CI step for performance testing and update benchmark workflow

Add a new 'ci' target in Earthfile for local performance testing.
Update the benchmark workflow to use the new 'ci' step and upgrade
actions/upload-artifact to v4.

* fix(performance): add sudo to systemctl restart in Earthfile

Add sudo to the systemctl restart command to ensure proper
permissions are granted when restarting the ledger service
during performance tests.

* refactor(performance): remove ci block from Earthfile and update benchmark workflow

Remove redundant ci block from Earthfile and update the GitHub
Actions benchmark workflow to execute the 'run' target with
appropriate arguments.

* refactor(performance): remove ci block from Earthfile and update benchmark workflow

Remove redundant ci block from Earthfile and update the GitHub
Actions benchmark workflow to execute the 'run' target with
appropriate arguments.

* fix(workflow): remove sudo from systemctl command in benchmark.yml

* fix(workflow): remove sudo from systemctl command in benchmark.yml

* fix(workflow): update benchmark server start and stop commands

Update the command to start `ledger serve` without using `systemctl`.
Add a command to kill the server process after benchmarking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant