Skip to content

Clean up min block scripts - #429

Open
drebelsky wants to merge 1 commit into
stellar:mainfrom
drebelsky:clean-up-min-block-scripts
Open

Clean up min block scripts#429
drebelsky wants to merge 1 commit into
stellar:mainfrom
drebelsky:clean-up-min-block-scripts

Conversation

@drebelsky

Copy link
Copy Markdown
Contributor

Make slp_eval and measure_e2e both easier to use wrappers around one common script. slp_eval's interface is mostly restored to how it was pre 8351664. measure_e2e's interface is changed to make it easier to test against our scaling goals. Additionally, the following changes are made

  • --ingress-external-host is now a documented parameter for both scripts
  • --enable-relaxed-auto-qset-config is added to the command line since Use automatic quorum set configuration by default #396 has still not merged
  • When running multiple of sac/oz/soroswap, the return value is 0 only iff all returned 0

Make slp_eval and measure_e2e both easier to use wrappers around one
common script.
@drebelsky
drebelsky force-pushed the clean-up-min-block-scripts branch from e01bda0 to f051651 Compare August 19, 2026 19:09
@drebelsky
drebelsky marked this pull request as ready for review August 19, 2026 22:33
Copilot AI balanced review requested due to automatic review settings August 19, 2026 22:33
@drebelsky drebelsky changed the title Clean up min block scripts. Clean up min block scripts Aug 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refactors MinBlockTimeMixed benchmark wrappers around a shared implementation.

Changes:

  • Adds shared parsing, validation, execution, and failure aggregation.
  • Restores the streamlined slp_eval interface.
  • Expands measure_e2e with scaling and latency controls.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
scripts/base.sh Adds shared benchmark implementation.
scripts/slp_eval.sh Uses shared fixed evaluation configuration.
scripts/measure_e2e.sh Adds configurable end-to-end latency benchmarking.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/base.sh
Comment on lines +243 to +245
if ! is_nonnegative_integer "$BLOCK_TIME_MS" || [ "$BLOCK_TIME_MS" -le "$BLOCK_TIME_BAND_MS" ]; then
fail "Block time must be an integer greater than ${BLOCK_TIME_BAND_MS}ms."
fi
Comment thread scripts/measure_e2e.sh
return 1
fi

existing=$((key_count / TIER1_ORG_SIZE))
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.

2 participants