Community
Participate
Working Groups
When an extension location is added in dropins, it looks like metadata generation happens twice for the same features and plugins. It happens when the ExtensionLocationMetadataRepository is created, and again when the ExtensionLocationArtifactRepository is created. I will attach some profiler output from 3.4.2, but DJ and I also noticed this when running on 3.6 HEAD earlier this week.
Created attachment 154805 [details] Profiler output showing double metadata generation on 3.4.2
In 3.6 there were some changes done when we switched to the publisher that cause us to rescan however the same problem in 3.4.2 surprises me as that was optimized. I wonder if we're looking at the dropins folder getting scanned and then a subfolder getting scanned instead of a double scanning of the same folder.
Adding target milestone so we don't forget about this. Simon: fyi John and/or I may look in this area when we look at reconciler performance in the next little while.
I'm not planning on doing anything more for this 3.6
Created attachment 167308 [details] Profiler output showing single metadata generation on 3.6
I did some profiling with the latest builds and we are no longer generating metadata twice. It is generated once when we first create the extension location repository (when loading the metadata repository) and then when we access the artifact repository we just load the one we already created. I've attached the profiler output from one of this week's builds. Closing.