The testSame model, prompt class, and network path. Change Session size and concurrent steps independently.
Put four timestamps on the wait.
t0Step startsHarness logt1Request arrivesgateway logt2First tokengateway logt3Chunk recordedHarness logUse an A/B ladder.
- Fresh · 1 stepbaseline
- Mature · 1 stepevent volume
- Fresh · 3 / 5 / 8shared-process overlap
- Before / after restartprocess accumulation
- Fork / new Sessionprefix cost
Three Host pressure paths.
append → snapshotComplete log copyThe first session.events read after append rebuilds the immutable array.
event → token meterHot observerOnce initialized, the meter catches up after each published Session event.
fork → constructorPrefix validationEvery seeded event is validated, detached or adopted, and frozen synchronously.
Mitigate the measured dimension.
For the Workflow worker engine, set an explicit small maxConcurrentAgents.
Carry a short handoff into a new conversation instead of forking the full history.
Capture evidence first; restart does not shrink resumed Session history.
Do not attribute gateway time to Host event processing.
Similar controls are not substitutes.
maxParallelToolCallstools inside one stepmaxConcurrentAgentsone Workflow enginemaxTokensone response outputcompactionmodel-visible contextPrimary evidence.
- Measured upstream report #3235
- Session snapshot and append behavior
- Token-meter event catch-up
- Workflow concurrency controls
Bring a distribution, not one slow turn.
The canonical guide includes the Session event counter, complete A/B ladder, source conditions, and performance incident bundle.
Read and star on GitHub