Closed
Description
On current Julia master, 40% of our time in using DeepPumas
is spent in GC:
114.447107 seconds (144.80 M allocations: 11.006 GiB, 43.24% gc time, 24.67% compilation time: 61% of which was recompilation)
OmniPackage similarly spends ~30% of its time in the GC, and the GC mark phase seems to be the primary culprit.
@vtjnash suspects that this GC time is largely spent scanning over the pkgimage objects, and that we might be able to reduce it.