Skip to content

Create new ctfe-stress-5 which builds in half the time as ctfe-stress-4 #1286

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 8, 2022

Conversation

rylev
Copy link
Member

@rylev rylev commented Apr 8, 2022

As part of the benchmark overhaul, we're making a new ctfe stress test that builds in about half the time (since there's not much reason for it to take as long as it currently does).

In a follow-up, we will remove ctfe-stress-4.

The ctfe-stress-4 benchmark was copied over to ctfe-stress-5, two annotations for nightly features which have since been stabilized were removed, and the number of ctfe iterations was reduced by a factor of about ~12.

ctfe-stress-4

  • check: 4.8s
  • build: 4.7sc
  • build --release: 4.4s

ctfe-stress-5

  • check: 2.3
  • build: 2.3sc
  • build --release: 2.3s

ctfe-stress-4
* check: 4.8s
* build: 4.7sc
* build --release: 4.4s

ctfe-stress-5
* check: 2.3
* build: 2.3sc
* build --release: 2.3s
@rylev rylev requested a review from nnethercote April 8, 2022 08:49
Copy link
Contributor

@nnethercote nnethercote left a comment

Choose a reason for hiding this comment

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

Lovely, thank you.

@rylev rylev merged commit 1ac2572 into rust-lang:master Apr 8, 2022
@rylev rylev deleted the ctfe-stress-5 branch April 8, 2022 09:27
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