Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 453328

Summary: Addition of file image caches to improve performances on diagram with a lot of (the same) images
Product: [Modeling] Sirius Reporter: Steve Monnier <steve.monnier>
Component: DiagramAssignee: Steve Monnier <steve.monnier>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: belqassim.djafer, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 458222    

Description Steve Monnier CLA 2014-11-26 11:21:56 EST
Addition of file image caches to improve performances on diagram with a lot of images, especially if its the same that is displayed multiple time.
A diagram with a lot of bordered node with workspace image is required. A scenario is to remove a node with a lot of these bordered node and then to undo this action.
Comment 1 Steve Monnier CLA 2014-12-09 08:52:21 EST
A review is available at https://git.eclipse.org/r/#/c/37103

Using the same sample and scenario (undo after deletion of a node with a lot of ports and edges):
- before the image caches -> 57s
- after the image caches -> 27s
Comment 2 Steve Monnier CLA 2015-01-23 04:40:09 EST
https://git.eclipse.org/r/#/c/37103 has been submitted on the master branch as well as https://git.eclipse.org/r/#/c/37104/
Comment 3 Belqassim Djafer CLA 2015-04-10 03:46:44 EDT
Verified on Sirius 3.0.0M6
Comment 4 Pierre-Charles David CLA 2015-06-24 11:13:58 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.