Skip to main content



      Home
Home » Eclipse Projects » Sirius » A performance confuse of thumbnail(thumbnail)
A performance confuse of thumbnail [message #1786218] Fri, 27 April 2018 01:21 Go to next message
Eclipse UserFriend
Hi,
I found that, when i editing model with sirius diagram, if i open outline overview, the editing performance will be worse. I analysed the source code, found the ToggleUpdateManager.performUpdate() is responded for painting the sirius diagram; the ThumbnailUpdater.run() is responded for updating the outline overview. Is my analysis correct or not?
My confuse is that, why the ThumbnailUpdater.run() costs more time than the ToggleUpdateManager.performUpdate()? Did not the ThumbnailUpdater.run() just scale down the picture which ToggleUpdateManager.performUpdate() painted?
Re: A performance confuse of thumbnail [message #1786222 is a reply to message #1786218] Fri, 27 April 2018 03:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

The outline view is provided by default by GEF. Indeed, we noticed this performance issue but since GEF 3 is not maintained anymore, this issue will probably not be addressed.
The only workaround is to close this view for diagrams with a huge amount of figure :-(

Regards,

Florian
Re: A performance confuse of thumbnail [message #1786478 is a reply to message #1786222] Fri, 04 May 2018 01:53 Go to previous message
Eclipse UserFriend
Hi, Florian Barbin
Thanks for your reply.
I debugged the process, It seams that, the thumbnail paint all the figures recursively, while the ToggleUpdateManager.performUpdate() only paint part of the figures, according to a HashMap named dirtyRegions which stores the affected picture and its dirty region.
Previous Topic:Couldn't make Property Validation Rule of a diagram working
Next Topic:Odesign + Emfcompare
Goto Forum:
  


Current Time: Fri Jul 04 04:22:16 EDT 2025

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

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

Back to the top