Skip to content

Skip linking for clippy aspect for faster builds #526

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 1 commit into from
Dec 5, 2020

Conversation

djmarcin
Copy link
Contributor

@djmarcin djmarcin commented Dec 5, 2020

Skipping linking for clippy can dramatically accelerate results. Local testing in my repo shows a speedup anywhere from 30-70% with real time going from ~12-15s -> 4-8s for leaf targets. Larger targets will generally reap greater results from skipping linking.

@google-cla google-cla bot added the cla: yes label Dec 5, 2020
@djmarcin djmarcin changed the title Skip linking for clippy aspect Skip linking for clippy aspect for faster builds Dec 5, 2020
@dae
Copy link
Contributor

dae commented Dec 5, 2020

This gets my vote; it looks like a more thorough version of #455

@dfreese dfreese merged commit bc05787 into bazelbuild:master Dec 5, 2020
@djmarcin djmarcin deleted the clippy-speedup branch December 5, 2020 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants