1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-03 05:33:33 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core
Marc-Andre Laperle 050be8ebe1 Bug 565553 - Improve performance of build command parsers with large number of files
Optimize AbstractLanguageSettingsOutputScanner.findResource by checking
under the currentProject first when searching for the IFile
corresponding to the parsed file name.

When the parsed file name is absolute, we can try to make it relative to
the current project and see if it exists as an IFile instead of going
through findFilesForLocationURI which is very slow. Having an absolute
path for the source file is quite common under the current (local)
projet.

This saves around 1.5 sec when parsing all commands of LLVM projet as an
example.

Change-Id: I576a917410e5d5ecbd8e932011555c699b250354
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-09-13 12:17:25 -04:00
..
.settings Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
META-INF Bug 562494: Update BREE to Java 11 2020-08-24 17:50:56 -04:00
schema Bug 550076 - Use PE64 parser by default 2019-09-09 15:56:07 -04:00
src/org/eclipse/cdt Bug 565553 - Improve performance of build command parsers with large number of files 2020-09-13 12:17:25 -04:00
.classpath Bug 562494: Update BREE to Java 11 2020-08-24 17:50:56 -04:00
.options Add missing buildModel tracing option 2015-10-22 15:24:47 -04:00
.project
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
build.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.properties Bug 548730 - Compilation database (CDB) language settings provider 2019-10-23 21:47:54 -04:00
plugin.xml Bug 548730 - Compilation database (CDB) language settings provider 2019-10-23 21:47:54 -04:00