Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-benchmark hashes #1218

Open
jbrockmendel opened this issue Sep 14, 2022 · 1 comment
Open

Per-benchmark hashes #1218

jbrockmendel opened this issue Sep 14, 2022 · 1 comment

Comments

@jbrockmendel
Copy link
Contributor

IIUC whenever I make any edits in a benchmark suite, the entire suite gets a new hash, so even if a particular benchmark hasn't been changed, it needs to be re-run over old commits to get a continuous history. This makes it expensive to make incremental improvements in a benchmark suite.

It would be nice to be able to mark a benchmark with e.g. @asv.last_changed("2017-04-05") or @asv.hash_value("...") so it gets treated as unchanged. It would be up to the user to ensure these marks are accurate.

@HaoZeke
Copy link
Member

HaoZeke commented Apr 1, 2023

This is a good idea, but in practice it would mean a breaking change to the current results format, and would need updates for each project (similar to the change from results v1 to v2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants