Book a Demo

Author Topic: Very bad performance  (Read 3471 times)

VaS

  • Guest
Very bad performance
« on: February 22, 2005, 11:58:02 am »
There's a project with one Class diagram that consists from about 15 classes. Each class includes about 80 members (attributes, methods, Delphi props) - all of them was hidden. Also there are about 50 relations between classes. That's all.  
Let's move our classes on the diagram. Everything is still fine... about 10-15 displacements. Then, each selection (even w/out movement) gives 100% of CPU usage for 10 secs (!).
I can't work by that way, It need to be restarted...

With regards,
Basil Kirichenko

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Very bad performance
« Reply #1 on: February 22, 2005, 02:19:04 pm »
What build are you using?

Now, can I just clarify what exactly is happening?

When you first load up EA and your model you can select and move your classes around on the diagram just fine.  Then after 10-15 moves EA slows down to the point where selecting a class takes 10 seconds of full CPU usage.  (Does this slowing happen progressively or suddenly?)

Are you using an eap file or a server repository?

Do other people experience this problem too?

Simon

VaS

  • Guest
Re: Very bad performance
« Reply #2 on: February 23, 2005, 12:50:21 am »
Thank you for answer!

Sorry for my bad English - I'm studing it for a little time.

I'm using 4.51.748 trial version.

You understood me very well.

The slowing is progressive - from 2-3 seconds waiting after 30 moves (more accurate estimation) to more.

I'm using a file, not a server repository.

There're no people who working with that project and so only I have this problem.

You can download the project from http://fr2html.narod.ru/VaS_example.zip

With best regards,
Basil

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Very bad performance
« Reply #3 on: February 23, 2005, 02:51:12 pm »
I downloaded your model (at the incredible speed of 483 bytes/Sec) but I couldn't replicate your problem.  I moved things around quite a lot but got no performance hit.

I did notice that when moving things around the diagram that EA saved everything for undo.  If your computer just meets the specs (or doesn't meet the specs) I can imagine this having an impact.

If that is it saving your diagram appears to clear any undo buffer and you may be able to work again.

Your English is fine.  I just wanted to make sure that I knew what you were talking about.

Simon

VaS

  • Guest
Re: Very bad performance
« Reply #4 on: February 24, 2005, 12:14:06 am »
Sorry for my hosting - it's bad, but it's free :)

I was moving any classes on that long-suffering diagramm about 50 times (do you agree that isn't a lot for a real work?) a minute ago - the problem has repeated.

I thought about "undo" too... No, it can't be my problem's reason - saving the project didn't solve it. Closing the project and opening it agait aren't a solving too :(

The configuration of my computer is P4-2.4, 512M. It's of course not the fastest model, but it isn't archaism anyway :)

Thank you, Simon

Basil

VaS

  • Guest
Re: Very bad performance
« Reply #5 on: February 24, 2005, 04:48:04 am »
The problem was resolved partly.

That diagram was created by importing a pretty large Delphi source file (about 8,000 lines of code). In my opinion, the diagram linked with corresponding soure code by some way (bad, slowly, etc. way?...)

In any case, where the source file was deleted the problem has disappeared. It's very good :) But I need reverse ingeniring with EA...

Basil

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Very bad performance
« Reply #6 on: February 24, 2005, 04:31:27 pm »
Hello Basil,

There is an option for the internal source code editor to create collapsible reasons.  (Tools | Options | Generation | Code Editors | Enable Outlining)  If you turn this off I believe you should get back reasonable performance.

Simon

VaS

  • Guest
Re: Very bad performance
« Reply #7 on: February 24, 2005, 11:50:12 pm »
Thank you, Simon!

Basil