-
Notifications
You must be signed in to change notification settings - Fork 0
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
Investigate parallelisation of 3 optimisation phases (release-only) #28
Comments
Update: I had a few bugs, since fixed. FCS compilation now works 🎉 Very first snapshot: Worth noting the ratio between time spent in each phase 1, 2, 3: Timings before & after:
So less speedup than I'd have expected. EDIT:
|
Bonus quest: What can speed it up further is a graph-based approach yet again. For wider context, there are a few different ways optimisation of a file might behave. It might:
Case 4. can be ruled out because the code doesn't allow for this kind of dependency. If:
For 2. the main issue would be making the optimization methods additive, ie. have the equivalent of EDIT: |
Not type-checking related, but I'm doing a short investigation into the following:
In Release mode, there are 3 main optimisation phases/rounds.
Round 1 only uses results of round 1 for previous files, round 2 only uses results of round 2 for previous files etc.
This means that we can easily increase parallelisation.
The text was updated successfully, but these errors were encountered: