Skip to content
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

Set Component.Delayed.eager to true #1014

Closed
wants to merge 2 commits into from
Closed

Conversation

Julow
Copy link
Collaborator

@Julow Julow commented Oct 9, 2023

On my machine, this doesn't have an impact on the benchmarks.
I open this PR so it can run on the benchmarks infrastructure and be compared to previous runs.

@Julow
Copy link
Collaborator Author

Julow commented Oct 9, 2023

The benchmarks first reported +3.3% compile time and +8.9% link time. I then replaced the implementation of Delayed with the identity function, the numbers are +2.5% for compile and +8.1% for link, confirming it's not noise.

I explain such a low number with that Delayed is useful on some modules only, where it would have a bigger impact. Delayed have been tuned on pathological cases, that are not part of the benchmarks.
Also, the substitution algorithm that requires Delayed to not blow up in some cases looks very costly in every cases.

@Julow
Copy link
Collaborator Author

Julow commented Oct 9, 2023

Since #1012 we can see that the slowest compile invocation takes 36% more time.

@Julow
Copy link
Collaborator Author

Julow commented Dec 5, 2023

This was just a test and isn't meant to be merged.

@Julow Julow closed this Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants