|
Re: Reduce opening time [message #1386422 is a reply to message #1386392] |
Tue, 17 June 2014 12:56 |
|
Hi Ignacio,
first of all, what is the order of magnitude of the diagram opening time
that you want to reduce (a few seconds, minutes)? What do you mean when
you talk about "many objects" (100,10k)?
Most of the time, when users experience bad performances at diagram
opening, it comes from the VSM Expressions (Semantic Candidates...) used
to define their diagrams. What interprer(s) do you use for writing these
expressions ? The var: and feature: interpreters have been created to
provide fast access to basic expressions. For more complex expressions,
Java code (called through service:) may have better performances than
Acceleo.
You can use the you can use the "Time Profiler" View provided by Sirius
to determine which expressions cost you the most.
And last but not least, Sirius provides a concept of "Unsynchronized
mappings" [1] . Please read the corresponding explanations by
Pierre-Charles. This can be a good solution to improve your diagram
performances, if it meets your needs.
Please do not hesitate if you have follow-up questions,
Best regards,
Alex
[1]
http://www.eclipse.org/forums/index.php/mv/msg/659316/1256592/#msg_1256592
|
|
|
Powered by
FUDForum. Page generated in 0.02854 seconds