timholy / SnoopCompile.jl

Provide insights about latency (TTFX) for Julia packages
https://timholy.github.io/SnoopCompile.jl/dev/
Other
309 stars 48 forks source link

Expand discussion of precompilation and its limitations #143

Closed timholy closed 3 years ago

timholy commented 3 years ago

This goes into detail about why some precompilation directives are only partially successful, and illustrates what can be done to fix them. It also urges users to think twice before reaching immediately for automated tools (SnoopCompile.parcel or the bot) to generate lists of precompile directives. I often find that I get much better results from manual inspection and intervention, but our documentation has really emphasized the automated tools.