added additional performance logging for initial project symbol scanning
This commit is contained in:
@@ -79,7 +79,13 @@ public class SpringIndexerJava implements SpringIndexer {
|
||||
.map(path -> path.toAbsolutePath().toString())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
log.info("scan java files for symbols for project: " + project.getElementName() + " - no. of files: " + files.size());
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
scanProject(project, (String[]) files.toArray(new String[files.size()]));
|
||||
long endTime = System.currentTimeMillis();
|
||||
|
||||
log.info("scan java files for symbols for project: " + project.getElementName() + " took ms: " + (endTime - startTime));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -61,7 +61,13 @@ public class SpringIndexerXML implements SpringIndexer {
|
||||
.map(path -> path.toAbsolutePath().toString())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
log.info("scan xml files for symbols for project: " + project.getElementName() + " - no. of files: " + files.size());
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
scanProject(project, (String[]) files.toArray(new String[files.size()]));
|
||||
long endTime = System.currentTimeMillis();
|
||||
|
||||
log.info("scan xml files for symbols for project: " + project.getElementName() + " took ms: " + (endTime - startTime));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user