Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT/JFace performance gotchas?(Anything I should know when creating tons of elements?)
SWT/JFace performance gotchas? [message #556041] Mon, 30 August 2010 16:05
Torbjørn G. Dahle is currently offline Torbjørn G. DahleFriend
Messages: 20
Registered: July 2009
Junior Member
I'm working on an RCP targeting Windows. It has become quite big, and some of the views are creating several hundred composites at a time, deeply nested and with complex layouts. I'm using lots of different elements, from wrapping labels to hyperlinks and image labels.

Building these can take between 500 and 1500ms, depending on the complexity. I can accept this performance, knowing that the structure is very complex although a web browser would be able to render it in an instance, wrapping and all.

What I'm wondering is is there anything I should know about creating big, complex GUIs with SWT and JFace that could possible make things go faster? For example, I've been investigating deferred layout, which I assume would help performance in my case. Is there a good guide to this somewhere on the web?

I also tried using TPTP to profile the application, but was unable to get it to work. Are there any profiling toolkits that are more targeted towards SWT specifically?

Previous Topic:Progress bar not progressing
Next Topic:Infinite loop
Goto Forum:

Current Time: Wed Feb 26 17:23:44 GMT 2020

Powered by FUDForum. Page generated in 0.04018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top