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

Reduce compilation time #127

Open
achille-roussel opened this issue Dec 14, 2023 · 0 comments
Open

Reduce compilation time #127

achille-roussel opened this issue Dec 14, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@achille-roussel
Copy link
Contributor

It looks like most of the compilation time is spent parsing the code and building the SSA and call graph.

A lot of this work is redundant since most of the sources don't change, it would be interesting to explore how we can cache those intermediary steps to reduce compilation times.

2023/12/13 21:45:02.159889 reading, parsing and type-checking
2023/12/13 21:45:03.132967 building SSA program
2023/12/13 21:45:03.805447 building call graph
2023/12/13 21:45:04.533675 collecting generic instances
2023/12/13 21:45:04.558154 finding yield points
2023/12/13 21:45:04.558335 coloring functions
2023/12/13 21:45:04.558509 compiling package ...
@achille-roussel achille-roussel added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant