1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
cdt/build
Marc-Andre Laperle 08e8e57162 Bug 565553 - Improve performance of build command parsers with large number of files
Narrow down parsers based on option string

Instead of trying to match all patterns one by one, we can check the
start of the option string to be parsed and narrow down which pattern
(parsers) should be used.

Doing so is much less elegant code-wise as we are "unrolling" the
beginning of the patterns by hand, but it gives a good speed up. Around
300ms saved with a test of LLVM code base (~50% of parseOption time) and
much larger gains on much larger projects or course.

Change-Id: I9e841e7233078d6e38ad08943d98966d0e3c661e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-10-04 14:29:11 -04:00
..
org.eclipse.cdt.autotools-feature Bug 563494: Remove freemarker java11 workaround 2020-08-31 09:07:10 -04:00
org.eclipse.cdt.autotools.core Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.autotools.docs Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.autotools.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.autotools.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.autotools.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.build.gcc.core Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.build.gcc.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.cmake-feature Bug 563494: Remove freemarker java11 workaround 2020-08-31 09:07:10 -04:00
org.eclipse.cdt.cmake.core Bug 566495: Rework CMakeErrorParser 2020-09-22 15:57:43 -04:00
org.eclipse.cdt.cmake.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.cmake.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.core.autotools-feature Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.core.autotools.core Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.core.autotools.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.gnu.build-feature Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.make.core Bug 566658 - [build] Core Make project does not support profiling 2020-09-03 23:32:19 -04:00
org.eclipse.cdt.make.core.tests Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
org.eclipse.cdt.make.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.make.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.managedbuilder.core Bug 565553 - Improve performance of build command parsers with large number of files 2020-10-04 14:29:11 -04:00
org.eclipse.cdt.managedbuilder.core.tests Bug 553674: Make Binary parsers and related classes Autocloseable 2020-08-31 21:32:32 -04:00
org.eclipse.cdt.managedbuilder.gnu.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.managedbuilder.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.managedbuilder.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.meson-feature Bug 563494: Remove freemarker java11 workaround 2020-08-31 09:07:10 -04:00
org.eclipse.cdt.meson.core Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.meson.docs Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.meson.ui Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.meson.ui.editor Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
org.eclipse.cdt.meson.ui.tests Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
pom.xml [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00