Skip to content

Ensure link to compare page is always present - #1291

Merged
rylev merged 1 commit into
rust-lang:masterfrom
rylev:refactor-message
Apr 11, 2022
Merged

rylev merged 1 commit into
rust-lang:masterfrom
rylev:refactor-message

Conversation

@rylev

@rylev rylev commented Apr 11, 2022

Copy link
Copy Markdown
Contributor

Fixes #1289

After some refactoring, we accidentally removed the link to the compare page when the results of a perf run were not relevant (see here for an example). This adds it back and simplifies how we build up the message to be posted on GitHub.

@rylev
rylev requested a review from Kobzol April 11, 2022 08:33

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great :) I wonder if we should also generate -perf-regression even if no relevant results were found? E.g. a previous run might have generated a regression, and another one (after some change) could return no relevant changes.

Comment thread site/src/github.rs Outdated
@rylev

rylev commented Apr 11, 2022

Copy link
Copy Markdown
Contributor Author

Great :) I wonder if we should also generate -perf-regression even if no relevant results were found? E.g. a previous run might have generated a regression, and another one (after some change) could return no relevant changes.

That's a great point. I don't believe we ever did that though so let's tackle that in another PR.

@rylev
rylev force-pushed the refactor-message branch from 068bb9e to b57a5a4 Compare April 11, 2022 08:57
@rylev
rylev enabled auto-merge April 11, 2022 08:57
@rylev
rylev merged commit 82b6ead into rust-lang:master Apr 11, 2022
@rylev
rylev deleted the refactor-message branch April 25, 2022 07:57
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.

Restore link to perf run results in non relevant runs

2 participants