Opened 6 years ago
Last modified 4 years ago
#5620 closed defect
Graphical operations probably slower with NF - moving objects case — at Version 4
Reported by: | massimo ceraolo | Owned by: | somebody |
---|---|---|---|
Priority: | blocker | Milestone: | 1.18.0 |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: | Martin Sjölund, Adeel Asghar |
Description (last modified by )
Slowness in performing graphical operations on model diagrams in OMEdit has always been a weakness of OM.
Although I cannot provide a test, after several days of intensive usage, I think the situation has worsened with NF.
In this ticket, I concentrate on moving objects (and object sets)
Just as an example try this:
- duplicate Electrical-analog-examples-CauerLowPassOPV
- select everything
- click arrow-left
Moving the model representation left takes a huge time: 15s on my laptop! It is near-instantaneous on the same PC in Dymola.
This is very bad. Consider that one usually moves by keyboard instead of mouse-dragging to be more accurate in positioning, but this requires several keystrokes in a row.
There are other merely graphical operations that are too slow for a satisfying programmer's life, but for me, this is the first to be reported.
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Priority: | critical → blocker |
---|
comment:3 by , 6 years ago
To be more precise, I repeated time measuring starting from a freshly rebooted PC, and just-opened OMEdit. This way repeating this ticket's description procedure I measured 22s. This larger time is probably due to the absence of any OMEdit caching but changes nothing about the ticket meaning.
I'll enclose omeditcommunications.log.
I don't know what's happening, but I dare to say that there should be specific APIs for cosmetic operations such as moving, to avoid the more sophisticate OMC actions that occur when "meaningful" (i.e. non-just cosmetic) operations occur.
by , 6 years ago
Attachment: | omeditcommunication.log added |
---|
comment:4 by , 6 years ago
Description: | modified (diff) |
---|
@ceraolo, can you please help us pinpointing the root cause:
Thanks!