Skip to content

feat: automate performance testing in CI pipeline#5372

Open
prakharsingh-74 wants to merge 2 commits intohiero-ledger:mainfrom
prakharsingh-74:automate-performance-testing-in-ci-pipeline
Open

feat: automate performance testing in CI pipeline#5372
prakharsingh-74 wants to merge 2 commits intohiero-ledger:mainfrom
prakharsingh-74:automate-performance-testing-in-ci-pipeline

Conversation

@prakharsingh-74
Copy link
Copy Markdown

Description

This PR introduces an automated performance testing suite integrated into the CI pipeline. It leverages the existing k6 framework to validate the relay's performance under load, with a specific focus on handling "heavy blocks" (blocks containing a large volume of transactions). The suite includes a daily scheduled run, support for manual triggers with custom parameters, and automated failure reporting via k6 thresholds.

Fixes #3851

Testing Guide

To test the performance workflow manually in GitHub Actions:

  1. Navigate to the Actions tab in the repository.
  2. Select the Performance Testing workflow from the sidebar.
  3. Click Run workflow and select the branch (e.g., automate-performance-testing-in-ci-pipeline).
  4. Choose a test_type (e.g., performance, load, or stress).
  5. (Optional) Provide a target_rps for stress tests or a filter_test for specific scenarios.
  6. Verify that the workflow correctly builds the relay, starts a local Hedera network (Solo), executes the k6 tests, and produces a summary in the job output.

Signed-off-by: prakharsingh-74 <prakharsingh7014@gmail.com>
@prakharsingh-74 prakharsingh-74 requested review from a team as code owners May 5, 2026 11:16
@codacy-production
Copy link
Copy Markdown

Not up to standards ⛔

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

Automate Performance Testing in CI Pipeline

1 participant