Skip to content

Make skipping of already benchmarked runtime benchmarks more precise #1668

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

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jul 27, 2023

Before, running a runtime benchmark suite would store all found runtime groups into the DB. That meant that if you tried to run benchmark X located in group A, and then later benchmark Y located in group 2 (both with the same artifact ID), then Y would not be executed at all, instead it would be skipped, since group 2 would already be stored in the DB as completed.

Now only the benchmark groups containing the actually selected benchmarks will be stored as steps into the DB, which resolves this issue.

Kobzol added 2 commits July 27, 2023 13:16
Before, running a runtime benchmark suite would store all found runtime steps into the DB. That meant that if you tried to run a different set of benchmarks with the same artifact ID, they would not be executed at all. Now only the benchmark groups containing the actually selected benchmarks will be stored as steps into the DB, and thus skipped on follow-up executions.
It wasn't really useful for anything, and the count wasn't precise after the previous commit.
@Kobzol Kobzol requested a review from nnethercote August 6, 2023 14:06
@Kobzol Kobzol merged commit 9ffdb25 into rust-lang:master Aug 7, 2023
@Kobzol Kobzol deleted the runtime-precise-skip branch August 7, 2023 07:14
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

Successfully merging this pull request may close these issues.

2 participants