Conversation
Replace the custom `parameterized` helper with `asv_runner.benchmarks.mark.parameterize`, and the `_skip_slow()` calls in `setup` with a `skip_slow` decorator, so slow benchmarks are not discovered at all when `ASV_SKIP_SLOW=1`. Static parameter skips use `skip_for_params`, and the DataFrame groupby benchmarks that raised in their body (a failure, not a skip, since asv 0.5) use `skip_benchmark`. Also sort `_ENGINES`, whose order depended on the hash seed. Closes pydata#8353 Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
headtr1ck
force-pushed
the
asv-runner-decorators
branch
from
October 12, 2026 09:32
752173e to
aa54d47
Compare
Contributor
😴 No significant changes. The benchmarks took a nap.Comparing |
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.
Use the decorators from
asv_runner.benchmarks.markin the asv benchmarks.parameterizedhelper withparameterize._skip_slow()calls insetupwith askip_slowdecorator, so slow benchmarks aren't discovered at all withASV_SKIP_SLOW=1(CI).skip_for_paramsfor thecumsum/ 2D groupby combinations, andskip_benchmarkfor the DataFrame groupby benchmarks that raised in their body (a failure, not a skip, since asv 0.5)._ENGINESindataset_io.py, whose order depended on the hash seed.NotImplementedErrorinsetup, since the decorators are evaluated once, when asv discovers the benchmarks.The discovered benchmarks, their parameters and the benchmarks run with
ASV_SKIP_SLOW=1are unchanged, apart from the slow ones no longer being discovered.whats-new.rstAI Disclosure
🤖 Generated with Claude Code