coroutine icon indicating copy to clipboard operation
coroutine copied to clipboard

Reduce compilation time

Open achille-roussel opened this issue 2 years ago • 0 comments

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 avatar Dec 14 '23 05:12 achille-roussel