UI Performance Monitoring

Status:
Accepted

SWT is the heart of the Eclipse UI and is driven primarily by an event dispatch loop. When events block the loop from proceeding for too long, the UI suffers from stutters and freezes that can be difficult to diagnose. A traditional profiler would either be unusably slow (instrumented mode) or produce mountains of irrelevant data (sampling mode).

Google contributed new UI Performance Monitoring API in the upcoming Eclipse 4.4 (Luna) release. In this talk we will introduce this API and an example monitoring plugin that captures relevant UI freeze data with minimal impact on the UI thread. We will also discuss the types of problems we have found and fixed using this monitoring.

Slides

Session details
Speaker(s): Session Type: Experience level:
Beginner
Track: Tags:
SWT
Schedule info
Session Time Slot(s):
Grand Peninsula C - Wednesday, March 19, 2014 - 14:15 to 14:50

Comments

The hooks are in the updated SWT plug-ins (3.103). The 3.8 dependencies may allow you to update SWT to this version, but I haven't tried (some significant performance improvements that we have discovered due to this mechanism will be in the 4.4 release, so I'd suggest you try it when it comes out).

Sample code is checked in the SWT git repository: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples...

Public comment