Default refresh_seconds 1.0 -> 0.2 - #11
Merged
Merged
Conversation
A frame now appears every ~0.3 s during a busy loop instead of every ~1 s (render time sets the actual rate; measured 19 vs 6 frames in 6 s). 0.2 s is the interval fastprogress uses for its live bars. Frames are drawn in the render process, so the training thread's cost is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G9zs684RFxHvW6cNWqTPSF
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.
What
The default minimum time between redraws drops from 1.0 s to 0.2 s, the interval fastprogress uses for its live bars. Frames are drawn in the render process, so nothing changes on the training thread.
Measured
Same loop, logging every 2 ms for 6 s:
refresh_secondsBelow 0.2 s the render time (~0.15 s per frame) is what limits the rate, so going lower mostly keeps the renderer busy. The first-frame delay is the render process starting (a fresh Python importing matplotlib), paid once per plot.
No demo GIF: this is a default, and the GIFs in the other PRs already record at short intervals.
Docs (module docstring, guide) updated. Full suite passes. Stacked on #10 because the guide page lives there.
🤖 Generated with Claude Code
https://claude.ai/code/session_01G9zs684RFxHvW6cNWqTPSF