Skip to content

Align deterministic follow-up performance scenarios - #173

Merged
MisterVVP merged 1 commit into
mainfrom
dev-align-in-process-and-wire-task-semantics
Jul 27, 2026
Merged

MisterVVP merged 1 commit into
mainfrom
dev-align-in-process-and-wire-task-semantics

Conversation

@MisterVVP

@MisterVVP MisterVVP commented Jul 27, 2026 •

Copy link
Copy Markdown
Owner

Motivation

  • The existing follow-up scenario diverged between in-process and wire drivers: the in-process driver reused a single seeded task and let its history grow across measured operations while the wire driver created a fresh seeded task per operation.
  • This made rows non-comparable and made in-process results depend on request count and ordering rather than a fixed documented workload.
  • The change separates common follow-up latency measurement from history-growth stress tests and makes both drivers deterministically equivalent for the common scenario.

Description

  • Introduce explicit history-depth constants and a new scenario name SendMessage_FollowUpAtHistoryDepth/8 and expose a numeric history_depth field in JSON/CSV output.
  • Change the in-process driver to pre-seed one independent task per measured operation (PrepareMeasuredFixtures / SeedTaskAtHistoryDepth) and use those per-operation tasks during measurement so a shared hot task no longer accumulates history across requests.
  • Apply equivalent pre-seeding semantics to the wire driver so both drivers represent the same follow-up scenarios, and include history_depth in BuildResultObject for in-process and wire rows.
  • Add deterministic unit tests that verify fixture seeding, history sizes, and that follow-ups execute from fixed per-operation task state, and update documentation and the Python runner to include the new scenario and CSV column.

Closes #167.

@MisterVVP MisterVVP added the codex Automatic label added by codex agent. Should not be used label Jul 27, 2026 — with ChatGPT Codex Connector
@MisterVVP
MisterVVP marked this pull request as draft July 27, 2026 06:50
@MisterVVP MisterVVP self-assigned this Jul 27, 2026
@MisterVVP MisterVVP added AI agent AI agent contribution and removed codex Automatic label added by codex agent. Should not be used labels Jul 27, 2026
@MisterVVP MisterVVP linked an issue Jul 27, 2026 that may be closed by this pull request
8 tasks
@MisterVVP
MisterVVP marked this pull request as ready for review July 27, 2026 10:20
@MisterVVP
MisterVVP merged commit 17fa0b4 into main Jul 27, 2026
17 checks passed
@MisterVVP
MisterVVP deleted the dev-align-in-process-and-wire-task-semantics branch July 27, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI agent AI agent contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Performance]: Split normal follow-up latency from hot-task history-growth stress

1 participant