Skip to content

Switch the stm32f4 benchmark to a quicker default feature #1265

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
Apr 1, 2022

Conversation

lqd
Copy link
Member

@lqd lqd commented Mar 31, 2022

As mentioned on zulip, the current stm32f4 rustdoc benchmark takes around 10 minutes.

The crate is divided into many features to selectively enable which hardware it targets, and switching from stm32f405 to stm32f410 roughly halves the amount of code to compile, and more importantly also halves the time it takes to run the benchmark for me.

Changing this thing after the crate has been benchmarked for a few days is likely going to look weird on graphs, the weekly report, and perfbot runs. Reducing the time this benchmark takes is probably worth this one-time annoyance.

@lqd lqd force-pushed the stm32f4-feature branch from 86012fd to ed4fdb3 Compare March 31, 2022 11:33
@lqd lqd force-pushed the stm32f4-feature branch from ed4fdb3 to 5837188 Compare March 31, 2022 11:34
@rylev rylev merged commit 21979c8 into rust-lang:master Apr 1, 2022
@lqd lqd deleted the stm32f4-feature branch April 1, 2022 07:59
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.

3 participants