Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Papyrus/Oxygen.3 Work Description"
< Papyrus
(→Work added in Oxygen 3) |
(→Work in progress: Add naming strategies) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=484648 Bug 484648]: Link with Editor does not work with ModelExplorer customized through EMF Facets | * [https://bugs.eclipse.org/bugs/show_bug.cgi?id=484648 Bug 484648]: Link with Editor does not work with ModelExplorer customized through EMF Facets | ||
** Note: Follow-up ticket [https://bugs.eclipse.org/bugs/show_bug.cgi?id=528312 Bug 528312] targets only Photon | ** Note: Follow-up ticket [https://bugs.eclipse.org/bugs/show_bug.cgi?id=528312 Bug 528312] targets only Photon | ||
+ | ===Sequence Diagram=== | ||
+ | Bugs about infinite loop and problems about movement of elements have been fixed. | ||
==Work in progress== | ==Work in progress== | ||
Line 19: | Line 21: | ||
*** For UML element creation, the Papyrus Edit Service is less efficient than the UML factory itself, and not in constant time. We will continue to investigate on it. | *** For UML element creation, the Papyrus Edit Service is less efficient than the UML factory itself, and not in constant time. We will continue to investigate on it. | ||
*** benchmarks after applying and testing some patches: | *** benchmarks after applying and testing some patches: | ||
− | #https://git.eclipse.org/r/#/c/115672/ | + | #https://git.eclipse.org/r/#/c/115672/ |
− | #https://git.eclipse.org/r/#/c/115671/ | + | #https://git.eclipse.org/r/#/c/115671/ |
− | #https://git.eclipse.org/r/#/c/115606/ | + | #https://git.eclipse.org/r/#/c/115606/ |
− | #https://git.eclipse.org/r/#/c/115682/ | + | #https://git.eclipse.org/r/#/c/115682/ |
{| class="wikitable" | {| class="wikitable" | ||
! | ! | ||
Line 46: | Line 48: | ||
|} | |} | ||
− | + | In additiona, we changed the method used to calculate the name of created elements in order to increase the performance of Papyrus. A preference has been added and 3 options are now available: | |
+ | *No Index | ||
+ | *quick index (default): unique in the main usecase, don't start necessary to 1. | ||
+ | *unique index: the previous implementation | ||
− | + | We informed the users on the Papyrus forum, on this [https://www.eclipse.org/forums/index.php/t/1091719/ thread] |
Latest revision as of 05:25, 7 March 2018
Contents
Official Version Papyrus 3.3.0
All bugs may be found in the tracker Papyrus 3.3.0
Work added in Oxygen 3
Layers
- Layers Development and adaptation of the Layer tool for the diagrams.
Profile updates
Model Explorer
- Bug 484648: Link with Editor does not work with ModelExplorer customized through EMF Facets
- Note: Follow-up ticket Bug 528312 targets only Photon
Sequence Diagram
Bugs about infinite loop and problems about movement of elements have been fixed.
Work in progress
- Bug 529945: [Performance] Creation of new element is not done in a constant time
- We create a small class to get easily a benchmark of the performance to create 5000 elements in the same container.
- The best way to create 5000 Classes is to use the UML Factory. (constant time)
- The best way to create 5000 Classes stereotyped SysML Blocks is to use the UML Factory, then the stereotype application for Block (using its factory), then adding ourself the stereotype application to the resource (constant time)
- Using the native UML API or the Papyrus Edit Service is less efficient and not in constant time, so adding a stereotype application depends on the model's size (we filled the UML bug Bug 528925: 528925)
- For UML element creation, the Papyrus Edit Service is less efficient than the UML factory itself, and not in constant time. We will continue to investigate on it.
- benchmarks after applying and testing some patches:
- We create a small class to get easily a benchmark of the performance to create 5000 elements in the same container.
- https://git.eclipse.org/r/#/c/115672/
- https://git.eclipse.org/r/#/c/115671/
- https://git.eclipse.org/r/#/c/115606/
- https://git.eclipse.org/r/#/c/115682/
Before patches | Improving Stereotyped elements naming | + SysML 1.4 patches | + UML2 patches | All patches | |
---|---|---|---|---|---|
5000 blocks with service edit | 206 800 ms | 177 968ms | 18 090ms | 18 158ms (no impact using service edit?) | |
5000 classes + apply stereotype | 81 616 | N/A | N/A | 1058ms | 915ms |
In additiona, we changed the method used to calculate the name of created elements in order to increase the performance of Papyrus. A preference has been added and 3 options are now available:
- No Index
- quick index (default): unique in the main usecase, don't start necessary to 1.
- unique index: the previous implementation
We informed the users on the Papyrus forum, on this thread