Skip to content

feat(op-acceptance-tests): optimize burst test performance with configurable EOAs #16533

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

crStiv
Copy link

@crStiv crStiv commented Jun 22, 2025

Description

Optimizes burst test performance when using many EOAs by addressing key bottlenecks:

  • Configurable EOA count: Added NAT_INTEROP_LOADTEST_EOAS environment variable (default: 300)
  • New optimized test: TestBurstOptimized() uses 1/4 fewer EOAs with 4x larger budgets per EOA
  • Improved overdraft handling: Test terminates only when >50% of EOAs fail, not on first failure
  • Optional load balancer: OptimizedRoundRobin with weighted selection to reduce contention

Tests

  • Added TestBurstOptimized() - new optimized version of existing TestBurst()
  • Added setupOptimizedLoadTest() - optimized setup function with fewer EOAs
  • Added getNumEOAs() - helper for configurable EOA count

Additional context

Metadata

@crStiv crStiv requested a review from a team as a code owner June 22, 2025 12:48
@crStiv crStiv requested a review from jelias2 June 22, 2025 12:48
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.

op-acceptance-tests: interop: load test: investigate why Burst tests take so long with many EOAs
1 participant