Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Reporting interactive UI delays into the Error log

Thanks everyone for the feedback. Sergey (the contributor of this development) discovered that SWT was sending out the events in an incorrect order.  It has been fixed in the master for Mars and should be in the next Milestone build. We hope to get this downported to 4.4.2. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=443346 for the details and discussion.

@Marcel, we plan to add the UI monitoring to 4.5, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=442335

Best regards, Lars

2014-09-08 10:19 GMT+02:00 LETAVERNIER Camille <Camille.LETAVERNIER@xxxxxx>:

Hi,

 

I've played a little bit with the tool, and got spammed with errors from the "Idle" loop, especially when I'm not doing anything (Which is kind of expected :) ). Filtering out this method helps a lot:

 

org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle

 

(That’s on Windows 7)

 

HTH,
Camille

 

De : cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] De la part de Marcel Bruch
Envoyé : dimanche 7 septembre 2014 12:00
À : Cross project issues
Objet : Re: [cross-project-issues-dev] Reporting interactive UI delays into the Error log

 

Hi ,

 

 

Ed, 

I did not notice such an issue under mac. 

Preference page is under General » Tracing » Event Loop Monitor, at least on mac.

 

Lars,

the ui delays are reported as warnings not errors. Thus, the ui delay events won’t be picked up by the error log collector.

In addition, given that the amount of ui delays reported is quite large (at least on my machine and even at times where Eclipse has no focus).

 

If ui delays can detect deadlocks and reports them as errors they should be sent - but only if the user set the reporting mode to „send  always without asking“. Otherwise a dialog pops up asking for permission to send the event (which is - in the case of a UI deadlock… well...) So, I’m not sure that we’ll catch many of these events at the moment.

 

Marcel

 

 

Am 07.09.2014 um 11:27 schrieb Ed Willink <ed@xxxxxxxxxxxxx>:



Hi Lars

Really good initiative.

But on a very new Windows 8.1 64 bit machine with minimal running applications, even the Error Log view triggers the 0.5 second threshold. The log fills at a rate of about 10 entries per minute. Many logged delays are in the 5 to 10 second range, suggesting that my Eclipse should be glutinous, but it feels fairly normal.

Is this tool ready for use yet?

The original Bugzilla has some discussion on a UI and preferences, but I can't see any preferences. Am I blind (again)?

Once a Bugzilla has been logged against some suspected offender, it would be nice to be able to filter further logs from that offender.

    Regards

        Ed Willink

On 02/09/2014 11:09, Lars Vogel wrote:

Hi,

 

Sometimes the Eclipse IDE freezes without providing feedback which part of the code is responsible for the freeze. Such freezes should be avoided, but it is often hard to determine the cause of the freeze.

 

Platform.ui received a code contribution in https://bugs.eclipse.org/bugs/show_bug.cgi?id=441015 to report such UI delays into the Error View. In its default configuration it report delays >  500 ms and adds a stack trace of the currently running code to the log entry. 


You can try this feature out from the following update site:  http://dl.bintray.com/vogellacompany/eclipse-performance-monitoring/  Works in Luna and Mars.

 

Platform.ui is planning to add this feature (deactivated by default) to the Mars release. Feedback is welcome, if you find bugs in the tool, please reported them https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=UI

 

Best regards, Lars

 

P.S. I have not yet tried it if the interactive error reporting from Marcel but as UI delays are also reported to the Error log, Marcels plug-in should also report it.

 




_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev




No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4765 / Virus Database: 4015/8166 - Release Date: 09/06/14

 

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

 


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Back to the top