PkgCacheInspector.jl icon indicating copy to clipboard operation
PkgCacheInspector.jl copied to clipboard

Report lists a PkgImage's "external methods" belonging to its own module

Open NHDaly opened this issue 1 year ago • 0 comments

(EDIT: Oops, sorry, I accidentally hit shift-enter while editing the title.)

In the following report, PkgCacheInspector shows my 16% of the external methods for my package, MuttsDicts, as belonging to itself. But in that case, aren't they not external?

Something seems either broken or confusing here. Thanks!

julia> using PkgCacheInspector

julia> info_cachefile("MuttsDicts")
Contents of /Users/nathandaly/.julia/compiled/v1.9/MuttsDicts/4IPZC_vzMP5.dylib:
  modules: Any[MuttsDicts.TypeHashCache, MuttsDicts]
  init order: Any[MuttsDicts.TypeHashCache]
  85 external methods
  3448 new specializations of external methods (Base 66.5%, MuttsDicts 16.0%, Base.Iterators 9.9%, ...)
  114 external methods with new roots
  4270 external targets
  3361 edges
  file size:   4981616 (4.751 MiB)
  Segment sizes (bytes):
  system:      1670740 ( 38.80%)
  isbits:      2431791 ( 56.47%)
  symbols:        7530 (  0.17%)
  tags:          24620 (  0.57%)
  relocations:  159585 (  3.71%)
  gvars:          3512 (  0.08%)
  fptrs:          8384 (  0.19%)

NHDaly avatar Nov 21 '23 18:11 NHDaly