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
497 stars 96 forks source link

Optionally run Plugin parsers after DB indexing #753

Closed mcserep closed 1 week ago

mcserep commented 1 week ago

CodeCompass currently builds database indexes for projects at the end of parsing. Previously this was fine, since little to no SELECT queries were executed during parsing, therefore it is unnecessary to maintain the indexes. However, the C++ metrics computation executes many SELECT queries on the C++ parsing result. The lack of these database indexes can greatly impair the performance.

Parsing Xerces I got the following measurement results:

Therefore this PR introduces an enhancement to optionally run Plugin parsers after DB indexing.