Hi everyone,
I’m having some performance issues in SysML 1.4. The basic use case is creating some SysML 1.4 stereotypes elements.
I used jvm monitor [1] to make a sample analyze [4]
It seems that most of the time is lost in StereotypeDisplayUtil [2] (either it’s called to often, either there is something wrong inside)
I looked in the code, and know I have some questions:
-
A diagram seems to be refreshed for each element creation. Is it expected (“normal”)? (seems a lot of useless refresh in most use cases)
-
Is there tests for StereotypeDisplayUtil? (I didn’t find a StereotypeDisplayUtilTest class)
-
A stereotype Compartment seems to be linked to stereotype. Why isn’t it directly linked to a stereotype application?
-
The monitor report didn’t show any sysml14 classes in the
Hot spots. But I may probably have a bad configuration in SysML 1.4, any ideas/suggestions?
-
Is there a recommended way to add performance tests/benchmark in Papyrus? (for example using [3])
Regards,
Benoit
1 : http://jvmmonitor.org/
2 : org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil
3 :http://openjdk.java.net/projects/code-tools/jmh/
4 :
