Skip to content

Conversation

@brendontan03
Copy link
Contributor

Description

Add benchmark tests for flashblock subscription with new headers and new transactions.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe):

Code Guidelines

Before submitting your PR, please review the relevant code guidelines in the docs/ folder:

Specific Guidelines by Component:

Checklist

  • I have reviewed the relevant code guidelines in the docs/ folder
  • My code follows the coding standards of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Testing

To run tests individually:

cargo test -p xlayer-e2e-test --test flashblocks_tests -- fb_benchmark_new_heads_subscription_test --include-ignored --nocapture --test-threads=1

cargo test -p xlayer-e2e-test --test flashblocks_tests -- fb_benchmark_new_transactions_subscription_test --include-ignored --nocapture --test-threads=1

To run entire flashblock test suite:

cargo test -p xlayer-e2e-test --test flashblocks_tests -- --include-ignored --nocapture --test-threads=1

Additional Notes

  • new headers test screenshot
image
  • new transactions test screenshot
image

@louisliu2048 louisliu2048 merged commit 97a3899 into main Jan 2, 2026
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.

4 participants