Community
Participate
Working Groups
Current value of 2000 seems relatively high for todays interactive performance. I suggest to reduce it to a lower value. Maybe 1200ms?
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/168367
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/168367 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9cc070bc085293cb9e962fefe646510e867d0846
This is causing spurious test failures bug 517227 comment 14. Can we have a property exposed such that we can either disable UI monitoring or tweak threshold?
(In reply to Sravan Kumar Lakkimsetti from comment #3) > This is causing spurious test failures bug 517227 comment 14. Can we have a > property exposed such that we can either disable UI monitoring or tweak > threshold? Hi Sravan, the setting is already a preference. IIRC preferences can be configured for unit tests. IIRC I have seen JDT doing that in their unit test.
(In reply to Lars Vogel from comment #4) > (In reply to Sravan Kumar Lakkimsetti from comment #3) > > This is causing spurious test failures bug 517227 comment 14. Can we have a > > property exposed such that we can either disable UI monitoring or tweak > > threshold? > > Hi Sravan, the setting is already a preference. IIRC preferences can be > configured for unit tests. IIRC I have seen JDT doing that in their unit > test. Can you please let us know the preference name and how to use it?
Mass move out of 4.18
(In reply to Sravan Kumar Lakkimsetti from comment #5) > Can you please let us know the preference name and how to use it? Sorry, did miss that comment. You can use the preference spy for that purpose. Just install it (see https://www.vogella.com/tutorials/EclipseRCP/article.html#tutorial_installation_e4spies), open if via Ctrl+3 - Preference Spy, toogle the "Trace preferences" button and change the selected preference value. The spy will list the key and old and new value.
Please open a new bug for the preference setting in the tests.