Skip to content

Add support for measuring tx e2e latency - #417

Merged
marta-lokhova merged 5 commits into
stellar:mainfrom
drebelsky:set-load-generators
Aug 14, 2026
Merged

Add support for measuring tx e2e latency#417
marta-lokhova merged 5 commits into
stellar:mainfrom
drebelsky:set-load-generators

Conversation

@drebelsky

Copy link
Copy Markdown
Contributor

Updated version of #394, trimmed down to just the changes needed for our e2e measurements.

Copilot AI review requested due to automatic review settings July 28, 2026 17:09

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

Adds configurable load-generator nodes and gated transaction end-to-end latency metrics for pubnet performance missions.

Changes:

  • Selects load generators from a public-key file.
  • Enables and logs e2e latency metrics only for selected generators.
  • Adds an e2e measurement preset and expands the SLP evaluation wrapper.

Reviewed changes

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

Show a summary per file
File Description
src/FSLibrary/StellarNetworkData.fs Maps loadgen keys to dedicated core sets.
src/FSLibrary/StellarMissionContext.fs Adds measurement and loadgen settings.
src/FSLibrary/StellarCoreSet.fs Marks load-generating core sets.
src/FSLibrary/StellarCoreCfg.fs Gates the stellar-core latency metric.
src/FSLibrary/MinBlockTimeTest.fs Selects generators and logs latency metrics.
src/FSLibrary/MaxTPSTest.fs Uses configured load generators.
src/FSLibrary/json-type-samples/sample-metrics.json Defines latency metric shapes.
src/FSLibrary.Tests/Tests.fs Updates the test mission context.
src/App/Program.fs Adds and validates CLI options.
scripts/slp_eval.sh Supports topology overrides and forwarded arguments.
scripts/measure_e2e.sh Adds the e2e measurement preset.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/FSLibrary/StellarNetworkData.fs Outdated
Comment thread src/FSLibrary/StellarCoreCfg.fs

@marta-lokhova marta-lokhova 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.

Overall LGTM, though I think it'd be good to merge once p28 and CI stabilize, and avoid introducing new (potentially unstable) changes. Let's merge after the release is done, so likely next week!

Comment thread src/FSLibrary/StellarNetworkData.fs

@marta-lokhova marta-lokhova 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.

can address copilot feedback in a follow-up to unstick this PR!

@drebelsky
drebelsky force-pushed the set-load-generators branch from c64c3fa to 31adefd Compare August 14, 2026 00:08
@marta-lokhova
marta-lokhova merged commit 0756ed8 into stellar:main Aug 14, 2026
3 checks passed
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.

3 participants