Ericsson / CodeCompass

CodeCompass is a software comprehension tool for large scale software written in C/C++ and Java
https://codecompass.net
GNU General Public License v3.0
517 stars 101 forks source link

Only load a plugin service if its parser was used #585

Open intjftw opened 1 year ago

intjftw commented 1 year ago

Right now, the service of every plugin is loaded for all projects anytime the webserver is started. This is redundant, e.g. if the metrics parser was not run on a project, then its service should be skipped as well.

whisperity commented 1 year ago

(Reimagining duplicate of #269.)

mcserep commented 8 months ago

(Reimagining duplicate of #269.)

Similar goal, but different purpose. The reason now is not the "1 server = 1 project" concept (which was dropped years ago), but now each plugin is loaded as many times, as many projects are contained in the workspace. Thus for performance reasons we could only load service plugins for which the corresponding parser plugin was executed.

Moving this to the next milestone.