Skip to content

Conversation

@blyxyas
Copy link
Member

@blyxyas blyxyas commented Sep 20, 2023

This PR integrates Clippy into the project.
A user can run the clippy profile with a local Clippy build, with the --clippy flag targetting to the Clippy executable:

$ cargo run --bin collector  -- bench_local +nightly --profiles Clippy --clippy ../clippy/target/release/cargo-clippy

But I'm having some problems with the bot integration, so some feedback and tips in those files would be very appreciated.

  • Would the bot run this on every commit, where is it configured? (we don't want to run it every commit)
    Thanks for the feedback ❤️

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Hi, thanks for the PR! I left some comments. I wonder what was your motivation for this PR? Do you work on Clippy and want to measure its performance on crates?

@blyxyas
Copy link
Member Author

blyxyas commented Sep 21, 2023

I wonder what was your motivation for this PR? Do you work on Clippy and want to measure its performance on crates?

Yep, we wanted a tool for measuring Clippy's performance on crates. Not for every commit, but to run once every 7 days or when triggered by a maintainer (We don't need a lot of active monitoring + Clippy benchmarking is really resource-intensive)

@blyxyas
Copy link
Member Author

blyxyas commented Sep 22, 2023

This new commit should be just like the first one, but discarding anything server-related =^w^=

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks for the changes. Some problems that cause CI to fail still have to be resolved, as per the other comments.

Also, as per #1724 (comment), we shouldn't include Clippy in Profile::all() for now. Let's just remove it from there, that should fix collection on the server. Later we might add it back once we're sure that clippy benchmarks can be run on the perf server.

@Kobzol Kobzol changed the title Integrate Clippy into the project (Help needed) Integrate Clippy into the project Sep 25, 2023
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Great, thanks for the changes! :)

@Kobzol Kobzol merged commit 2a9fade into rust-lang:master Sep 26, 2023
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