Improve benchmark UX, publish PR results, and release 0.2.0 - #4
Merged
Merged
Conversation
Use caffeinate for benchmark invocations with automatic cleanup and an --allow-sleep opt-out. Document behavior and add lifecycle tests.
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.
Long benchmark runs now show live elapsed time, memory usage, and a log-tail panel while retaining periodic status on disk. Experiment and input choices support arrow-key navigation, and macOS runs automatically prevent idle system sleep while allowing the display to sleep.
Suites can publish a version-attributed results summary and SVG memory/runtime charts to a GitHub PR. Publication includes access preflight, local previews, a permanent publish.sh launcher, readable STATUS.md, offline status and GitHub verification commands, and recovery from uncertain outcomes without duplicating an existing comment. The full HTML report remains local. A complete PR benchmark example and usage documentation are included.
Local uv builds now track source changes, preventing stale cached installations. This PR sets the package version to 0.2.0 for release after merging.
Validation: 211 non-Docker tests pass locally with pinned ActivitySim and Sharrow dependencies; Ruff lint and formatting checks pass. Exported charts were rendered and inspected, the macOS sleep assertion was verified, and the publication launcher was exercised from another directory. GitHub transport is simulated in automated tests; no live comment was posted for testing. CI covers Python 3.10–3.12, packaging, and Docker integration before merge.