Introduce abench and publish version 0.1.0 to PyPI - #1
Merged
Merged
Conversation
Support variable expansion, per-run overrides, suite preflight, sequential execution, and comparison reports. Include a SANDAG example, tests, documentation, and expanded CI artifacts.
Add configurable warmup household limits while preserving measured settings and strict cache coverage checks. Record phase settings and missing flow signatures, and surface actionable failures in CLI output and reports.
Add a persistent flow cache keyed by compiler and platform identity, with isolated copies, serialized warmups, and atomic updates. Expose CLI and YAML controls and add documentation and reuse tests.
Add configurable cache retries, preserve attempt diagnostics, and publish newly compiled flows. Accept only compilation-free measurements and stop immediately on model or validation failures.
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.
Introduce
abench, a reusable CLI for reproducible ActivitySim runtime and memory benchmarks in Linux Docker containers. It supports model profiles, exact source dependency commits, reusable YAML experiment suites, component timing and memory reports, and automatic Sharrow flow-cache reuse with retries that exclude compilation from accepted results.Prepare the first PyPI release, 0.1.0, so users can run
uvx abench experiments.yaml. Add package metadata, a single version source,--version, release instructions, and GitHub Trusted Publishing. Publishing a version-tagged GitHub release runs unit and Docker tests, checks both distributions, and verifies an isolated uvx installation before upload.Validation: 68 local unit tests; four Docker integration tests covering serial/multiprocess execution, cache-miss retries, and reuse; pre-commit checks; wheel and sdist validation with Twine; isolated uvx smoke tests. GitHub CI runs Python 3.10–3.12 and the Docker integration suite.