Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: #Includes slow in v7?
Topic Summary:
Created On: 27-Apr-2004 21:02
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 27-Apr-2004 21:02
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Boy, DOORS v7 seems real slow. The #include statements take several seconds to run, and loading DOORS v7 itself over a minute.

I thought it was supposed to be a tad faster than v6?

- Louie
Report this to a Moderator Report this to a Moderator
 28-Apr-2004 10:31
User is offline View Users Profile Print this message


Ross Morgan

Posts: 74
Joined: 15-Apr-2004

DOORS 7.0 SP1 takes less than 20sec to load for me (including typing in my password), and there is no discernable performance difference for code which uses a lot of #includes.

startup dxl can slow DOORS down - evidenced by the DOORS main window being present but the explorer takes a while to display.
other possible performance sinks include...
-using the "-dxl" switch on the command line
-triggers
-using the "-addins" or "-projectaddins" switches
-configuring "-home" to be on a remote file system.

is the poor performance for DOORS 7.0 restricted to one machine or several machines?

are you working with a clean install or an upgrade? (upgrades preserve dxl customisations which may introduce performance hits)

Ross.
Report this to a Moderator Report this to a Moderator
 28-Apr-2004 14:58
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

We are just preparing for the upgrade so v6 and v7 exist now only on my own machine. But loading v7 takes 4 times longer, in an empty DB, than does v6.

I strongly suspect that v7 deals with "addins" commands much differently, and since I have a huge pile of DXL deployed using "addins" and "projectaddins", and almost all #include the massive library, and the library is loaded relative to the first path in the "addins" command (they issue "#include <Includes/Lib-LibAll.inc> where folder /Includes/ is relative to an addins path), I conclude that v7 is slowing down hopelessly.

If this is the case I'll have to figure out how to redeploy my DXL. I hate it when that happens.

- Louie
Report this to a Moderator Report this to a Moderator
 28-Apr-2004 16:45
User is offline View Users Profile Print this message


Ross Morgan

Posts: 74
Joined: 15-Apr-2004

I'm not sure if the treatment of addins has changed between v6 and v7 per se, but, for example, the change in the treatment of strings (OLE & RTF etc) and strengthening in the interpreter (contexts, triggers etc) may well have had side effects. It would be interesting to see some quantitative data on the performance differences for different samples of DXL code.

I know it can be quite inconvenient to have to restructure DXL code for performance reasons, but being an interpreted language, there is a lot of scope for perfomance improvement by refactoring DXL into multiple files and delaying the loading of DXL. (oh, the joys of DXL programming)

Not all code needs to be defined in the Global context. In the Base Window context, you really only need to define Base Window menu callback functions. Likewise for startup DXL (in the Global context), I would only put callback functions, initialisation functions and global variable declarations. I would put #includes to personal library functions in the menu/popups definition code - that way the perfomance hit is taken when loading DXL into a local context on selecting the menu.
Report this to a Moderator Report this to a Moderator
 28-Apr-2004 19:54
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I'm having a real hard time imagining deploying DXL by modifying installed files on the client such as startup.dxl and baseWin.dxl (or whatever its called). It just doesn't seem practical to manage. So all my DXL is via pulldown Module and Project addins; in addition to Layout and Attribute addins. I DO have a "LinkmodAddins" variable that DOES require modifying the "link.dxl" installed file, but I'm the only one that uses those.

I guess I'll keep investigating why its so slow.

- Louie
Report this to a Moderator Report this to a Moderator
 29-Apr-2004 09:50
User is offline View Users Profile Print this message


Ross Morgan

Posts: 74
Joined: 15-Apr-2004

yes, modifying DXL files in the installation isn't ideal and generally leads to trouble. If you have DOORS/Analyst, have a look at how they solve the deployment problem. They put a dxl file in startupfiles directory and it runs as startup DXL. When DOORS/Analyst is uninstalled - the customisation is removed cleanly. This isn't a supported/documented feature - perhaps in DOORS 8 if there is enough demand for it.
Report this to a Moderator Report this to a Moderator
 29-Apr-2004 16:12
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 97
Joined: 14-Aug-2003

Louie,

I think you should really look into your DOORS 7 performance problems because I am using 7 and I utilize the -addins paths in the command line to define global DXL files. I have seen good performance from DOORS 7 SP1 and have not seen any of the symptoms that you are talking about.

I have the ability to flip between 5.2 and 7 and 7 always has better performance. I have the same addins paths for both 5.2 and 7.

Have a bit of faith in DOORS 7 SP1 performance enhancements because I have definetely seen the difference.

Good luck,
Doug
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.