Demo: surface the streaming win with tighter Beat 2 timing - #13
Merged
Conversation
The streaming hot path landed `,,` at ~1.3s end-to-end on the fast
tier, down from ~5-10s. The previous demo still slept 9s during Beat
2 — the speed win was invisible.
Tightened:
Sleep 1500ms → 1200ms (between typo'd command and `,,`)
Sleep 800ms → 700ms (between `,,` and Enter)
Sleep 9s → 3500ms (display the diagnosis + dropped fix)
Sleep 3s → 2500ms (run the fix, show output)
Total demo length: 91.6s → 84.9s (-6.7s, -7%).
Added a comment block to Beat 2 explaining the streaming model —
the diagnosis and corrected command appear together once the model
emits the first complete {command, note} object plus a
non-Uncertain diagnosis. The 3.5s display window gives the audience
time to read both lines before the demo presses Enter.
No story changes; same beats, same fix outcome (./build.py prints).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The streaming hot path landed
,,at ~1.3s end-to-end on the fast tier, down from ~5-10s. The previous demo still slept 9s during Beat 2 — the speed win was invisible.Sleeps tightened
findand,,,,and EnterDemo length: 91.6s → 84.9s (-6.7s, -7%).
Beat 2 now plays at roughly the rhythm a real user experiences: the diagnosis line lands on stderr and the corrected command lands on the prompt within ~1.3s of pressing Enter. The 3.5s display window leaves time for the audience to read both before the demo presses Enter again to run the fix.
Added a comment block in the tape explaining the streaming model — the diagnosis and corrected command appear together once the model emits the first complete `{command, note}` object plus a non-Uncertain diagnosis.
What didn't change