Skip to content

Add support for measuring tx e2e latency - #417

Open
drebelsky wants to merge 4 commits into
stellar:mainfrom
drebelsky:set-load-generators
Open

Add support for measuring tx e2e latency#417
drebelsky wants to merge 4 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 on lines +501 to +502
for removedNode in Set.difference loadgenKeySet keptNodes do
LogWarn "Removed loadgen node %s from simulation" removedNode
Comment on lines +321 to +322
if self.measureE2eLatency && self.network.missionContext.measureE2eLatency then
t.Add("LOADGEN_MEASURE_TX_E2E_LATENCY_FOR_TESTING", true) |> ignore
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