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

Parcel option for adding extra precompile sentences manually #56

Closed aminya closed 2 years ago

aminya commented 4 years ago

It would be nice if there be a keyword argument for parcel to pass some extra precompile sentences manually.

It should check if the given sentences are not already detected by the @snoopi (are not duplicate), and then merge them with the return.

timholy commented 4 years ago

What API do you want? A list of signatures?

aminya commented 4 years ago

What API do you want? A list of signatures?

I think a vector should be fine. What I am thinking about is also a read function that does the reverse of what write does. To read the signatures from a file and giving a vector for passing to parcel.

timholy commented 4 years ago

Do you need to specify which package they should be associated with?

timholy commented 2 years ago

This has been superseded by SnoopPrecompile.