Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Slowness of ProgressDialog on non-Windows platforms

Hi,

About 1 or 2 times a year I bump into a bug report that says "Feature X is so slow on OSX compared to linux and windows" and every time it comes down to a feature that is so nice to actually use setTaskName() on the ProgressDialog to tell about what is being done (i.e. which file is being copied) resulting in many calls to setTaskName().

On Windows it has zero impact, on Linux it gets a bit slow and on OSX it is just ridiculously slow.

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=432826 about this but I was wondering if anyone in here might know the reason for this issue since it is basically been around for several years.

To see what i'm talking about see these videos simply iterating over 500 calls to setTaskName() and see how slow it is:

OSX: 50 seconds - http://screencast.com/t/DhqW9lU3md5

Linux: a few seconds - http://youtu.be/J35JJOcxYWw

Windows: Almost instant - http://screencast.com/t/0IHIxx6MrQUv

I tried reproducing it in pure SWT but here things seem to be just fine - its something in the jface ProgressDialog that is slowing things down.

Also note that the Cancel button becomes useless on osx too in this case.

Any ideas/suggestions would be very welcome!

Thanks,
/max
http://about.me/maxandersen


Back to the top