1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00
cdt/core/org.eclipse.cdt.ui.tests
Jonah Graham b564575d51 Bug 314428: speedup build console - limit UI thread
Re-wrote the BuildConsolePartitioner to do as many operations as possible
in the non-UI thread and only to update the UI thread in batches.

Key changes:
- The UI thread "pulls" changes when it is ready, this means that many
  lines of output are updated in one go. This compares to the "push" that
  the non-UI thread used to do. The previous code pushed a change to the
  UI thread on every line of build output.
- The limit on console size is now soft, rather than recalcuating the
  entire document on each line (i.e. add line at bottom, remove line
  from top) the document is truncated to the limit size as it reaches
  2x the limit size. This calculation is also done more effeciently by
  tracking the number of lines each partition contains rather than
  recalculating them.
- Folded most of the implementation of BuildConsolePartition into
  BuildConsolePartitioner. This is because the partioner has a global
  view and is much more efficient at determining if adjacent partitions
  can be combined. In addition, rather than having the complexity of
  splitting partitions that were too long, instead make sure we don't
  create such partitions in the first place.

Change-Id: I47543db3fef754e779684cae44d3316982f1bc0a
2017-05-12 11:51:08 -04:00
..
.settings Bug 488109 Refactoring of Extract Constant Implementation 2016-06-14 03:26:18 -04:00
icons Patch for Devin Steffler w/ Modifications - Indexer View Search 2005-04-18 19:06:02 +00:00
META-INF Bug 314428: speedup build console - limit UI thread 2017-05-12 11:51:08 -04:00
resources Bug 510794 - Tab character is ignored at the beginning of line inside a 2017-01-23 11:51:39 -08:00
src/org/eclipse/cdt/ui Bug 515178: Convert ui AutomatedSuite to new style 2017-04-14 11:50:18 +01:00
ui/org/eclipse/cdt/ui/tests Bug 314428: speedup build console - limit UI thread 2017-05-12 11:51:08 -04:00
.classpath Bug 488109 Refactoring of Extract Constant Implementation 2016-06-14 03:26:18 -04:00
.options Providing .options file for easy trace activation. 2006-03-22 00:54:08 +00:00
.project Got rid of the static project references in our .project files. PDE takes care of all this now through the plugin dependencies. Also fixed the wording of the PDOM enabler to make sure people know this is a work in progress. 2005-12-02 20:43:14 +00:00
about.html EPL'ing the CDT. 2005-06-23 14:44:35 +00:00
build.properties Remove Function Bodies and Remove Unused Declarations refactorings. 2016-08-08 12:02:17 -07:00
plugin.properties Remove Function Bodies and Remove Unused Declarations refactorings. 2016-08-08 12:02:17 -07:00
plugin.xml Remove Function Bodies and Remove Unused Declarations refactorings. 2016-08-08 12:02:17 -07:00
pom.xml Bug 515304: profiles to parallelize testsuite 2017-04-14 20:03:36 -04:00
test.xml Cleanup some left over gunk from the move of stuff to org.eclipse.cdt.core.tests 2003-07-15 13:43:18 +00:00