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

Add parcel for snoopi_deep #168

Closed timholy closed 3 years ago

timholy commented 3 years ago

This is the analog of our previous functionality for @snoopi_deep. It works by finding the root-most frame in each branch that owns the method being called and which can eval all the types in the signature.

In most respects this probably replaces #157, and really should probably replace the parcel/write style when using @snoopi; that seems to have nothing but disadvantages compared to this PR. (But it's still young, so let's give it a little while to mature before we think about clearing out cruft.)