Book a Demo

Author Topic: Automation Interface  (Read 3377 times)

fginfrance

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Automation Interface
« on: November 14, 2009, 01:01:13 am »
Hi,

I would like to follow-up on a discussion here http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1257343950/4#4 about the EA API speed.

I by coincidence observed that - while it is still slow  :( -  my app, which crawls a > 5000 element model completely to do some architecture rule validations, speeds-up significantly  ( * 5-10) when I open any modal Dialogbox in the EAUI in parallel.

Has anybody observed the same and has an idea if this is linked to Windows or EA? Could this be exploited programmatically?

(Current config is python + a local .EAP)

Regards
fginfrance

Hermes

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Automation Interface
« Reply #1 on: November 14, 2009, 01:13:28 am »
Hi
I've noticed slowness of the api interface too...
But I've not faced this aspect yet.

I'm agree with Geert Bellekens: it should be caused by a 1-by-1 element fetch strategy, followed by the api interface.
So I think that applying a pre-fetch mechanism (on api, based on local cohesion) would really increase speed.

Is possible to tune api access parameters in order to obtain a sort of prefetch?


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Automation Interface
« Reply #2 on: November 14, 2009, 01:18:31 am »
There are some options that you can set on the Reposicoty class
lik BatchAppend, EnableCache and EnableUIUpdates, but I haven't noticed an important perfomance increase using those.

Geert