Book a Demo

Author Topic: EA is slow since using Ports  (Read 5339 times)

royvanmarrewijk

  • EA User
  • **
  • Posts: 61
  • Karma: +1/-0
    • View Profile
EA is slow since using Ports
« on: September 04, 2015, 12:01:28 am »
Hi,

Since a while we use Enterprise Architect with the SysML pluging for the modelling of tunnel installations. Untill a couple of weeks ago it worked very well but since we began start using Ports the model (only the diagrams which shows de blocks with the ports) is becoming very slow.

So do you have any idea what this could be and how to fix it.

kind regards,
Roy

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA is slow since using Ports
« Reply #1 on: September 04, 2015, 04:32:46 am »
Probably you can't do much about it. Each port executes a shape script. So the more ports the slower the diagram generation. I used to narrow down diagrams to one center element and its neighbors. Then I used hyperlinks or diagram frames for the missing parts.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: EA is slow since using Ports
« Reply #2 on: September 04, 2015, 10:03:27 am »
Quote
Probably you can't do much about it. Each port executes a shape script. So the more ports the slower the diagram generation. I used to narrow down diagrams to one center element and its neighbors. Then I used hyperlinks or diagram frames for the missing parts.

q.
@q,

I'm not so sure.  I've been impressed with the speed of execution of shape scripts.  In any case, effectively, EVERY diagram object executes a shape script, I believe.  I've got diagrams with hundreds of shapes each executing a multi-part shapescript.  The speed of loading is essentially directly related to the number of objects and links.

@Roy,
Did you recently change versions of EA?  SPecifically did you upgrade from v9.1 (909)?  EA slowed down significantly at that point.  I have documented figures show automation processing of diagrams slowed down by up to 700%!

Is the slowness related to specific diagrams or more general?  Do you have a snapshot of the repository before you started using ports?  If so can you compare two diagrams essentially the same?

Since I run an automatic diagrammer that automatically draws the diagrams (similar to qwerty's), I'm always interested in how speed of diagram processing is affected.

As you may suspect from the above figures, we use a v9.1 instance to process our diagrams in bulk, and use v12 to do "manual" processing of diagrams (using the same code).

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

royvanmarrewijk

  • EA User
  • **
  • Posts: 61
  • Karma: +1/-0
    • View Profile
Re: EA is slow since using Ports
« Reply #3 on: September 09, 2015, 10:21:16 pm »
Hi,

Guys thanks for your replays!

I use version 12.0.1211 of Enterprise Architect. EA becomes slow when I work with diagrams that contains ports. When my colleague and me are working within the same respository at the same time and I use diagrams with ports and he doen't, my application is very slow and his is working perfectly.
So if you know any tricks that I can do to make manual diagramming faster it would me very welcome, till that time I'll experimenting with auto diagramming.

Roy

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: EA is slow since using Ports
« Reply #4 on: September 11, 2015, 08:58:39 am »
How many blocks/ports on your diagram? What repository (database or EAP file)?
The Sparx Team
[email protected]