Book a Demo

Author Topic: Poor performance when reverse-engineer C# project  (Read 4050 times)

Alex Z

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Poor performance when reverse-engineer C# project
« on: November 12, 2012, 07:50:29 am »
Hi,

i upgraded to EA 9.3 recently and discovered that performance of the code reverse engineering is very poor. Particularly, when i perform model  synchronization (re-import C# files from folder into the model), all files are re-scanned and re-synchronized, in spite that only few of them was actually updated.

NB: in earlier versions of the EA, synchronization worked just fine.

Does anybody else suffers from poor performance also? Is there any workaround?

Thanx.

Kind regards
Alex

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Poor performance when reverse-engineer C# proj
« Reply #1 on: November 12, 2012, 08:27:33 am »
I can confirm that all files are rescanned on each import and that this is what EA has done since it supported code import.

Alex Z

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Poor performance when reverse-engineer C# proj
« Reply #2 on: November 12, 2012, 08:56:55 am »
Hi Simon,

thanx for reply. Strange, but i  remember in earlier versions of EA (probably 7.*) model sync was done way better/faster.

Maybe my memory is fooling me, but in earlier versions of EA i've got very positive experience of the code reverse engineering performance.

And by the way, why not to synchronize only changed source files? - that would make a lot of sense:
* synchronizing big models would be hundreds (if not thousand) times
faster
* majority of source files are usually not changed. Same apply to the .net assemblies

Is it possible to setup custom criteria on synchronizable items? (Like changed file size and/or changed time stamp)?

Thanx.

br Alex

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Poor performance when reverse-engineer C# proj
« Reply #3 on: November 12, 2012, 10:52:06 am »
Quote
why not to synchronize only changed source files?
At the moment EA does not store a time of the last import (or timestamp of the file) without that it's impossible. I've been wanting to see that added personally for a very long time.

Quote
Is it possible to setup custom criteria on synchronizable items? (Like changed file size and/or changed time stamp)?
Not directly within EA. The best I can suggest is to use a copy command with appropriate arguments set to copy only those files matching your requirements to another directory and import the code from there. Making sure to use local paths to ensure EA knows they are the same thing and not deleting things that aren't found.