test: Stage 0.9 benchmark harness with v1.x baselines (#436)#467
Merged
Conversation
Introduce an opt-in pytest-benchmark suite under benchmarks/ with committed Linux baselines and a dedicated CI job that fails on ±20% wall-time regressions. Closes G8 and unblocks polars Phase A performance enforcement. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
WSL-captured baselines were ~2–4× slower than GHA runners and failed the ±20% compare. Refresh means from the failed CI run and add a workflow_dispatch capture job for future baseline updates. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Align CI with the release-plan acceptance criterion (no metric slower than 1.x): allow faster runs to pass and rebaseline when an improvement is intentional. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
jepegit
added a commit
that referenced
this pull request
Jul 13, 2026
* chore(issueflow): archive #439 and #467 to solved Move completed issue tracking files from partly-solved to solved folders. Co-authored-by: Cursor <cursoragent@cursor.com> * feat: deprecate cellpy.utils.easyplot on import (#479) Emit a module-level DeprecationWarning via warn_once pointing users to plotutils and collectors; register removal in 2.0 in DEPRECATIONS.md. Closes #479. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
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.


Summary
pytest-benchmarksuite underbenchmarks/measuring five v1.x performance metrics on committed golden cells (single-cell pipeline, 20-cell batch summary collection, v8 load,get_cap, peak RSS).benchmarks/baselines/v1x_ubuntu_py313.json) and acheck_baseline.pycomparator with a ±20% mean wall-time gate..github/workflows/benchmarks.ymljob onubuntu-latest, separate from the Tier-1essentialmerge gate.Closes #436.
Test plan
pytest benchmarks/ --benchmark-only— 4 passed, 1 skipped (RSS) on Windows; 5 passed on WSL Linuxpython benchmarks/check_baseline.py— within ±20% on WSL after baseline captureruff check benchmarks/— cleanBenchmarksworkflow green on this PRNotes
pytest -m essentialhas one pre-existing failure (loader_pec_csvgolden,datetime64[ns]vsus) unrelated to this change.Made with Cursor