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: Performance problem when module not visible
Topic Summary: Performance problem
Created On: 1-Apr-2005 22:24
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.
 1-Apr-2005 22:24
User is offline View Users Profile Print this message


Polly Potter

Posts: 1
Joined: 17-Mar-2003

I have a script that is pulling an attribute from the source modules of incoming links. When I open the source modules with the display flag set to false, performance is extremely slow. If I change the display flag to true and have the source modules displayed, performance is acceptable. I would prefer not to have the source modules displayed, does anyone have a suggestion or know why there is such a big difference in performance just because the module is visible?

I have attached the code for reference.

Thanks,
Polly
Report this to a Moderator Report this to a Moderator
 13-Apr-2005 18:14
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

This is attribute DXL.

Code looks good, specifically setting the AttrDXL to -1 rather than setting it empty, since setting it empty is a flag to continually update it, which WILL cause performance to drag.

What's this "setCacheState_" stuff all about? I'm curious. Try commenting it out.

After opening the module, try the following code:

string Value
int CountObjs = 0, CountNulls = 0
for obj in entire current module do
{ CountObjs++
Value = obj."MyAttrDxl-Name" // insert attr name here
if (null Value) CountNulls++
}
ack(CountObjs "\t#Objects\n" CountNulls "\t"#Null values")

Run this when opening invisible, and also for visible. If you get different results let us know and we'll try to go from there...

- Louie
Report this to a Moderator Report this to a Moderator
 14-Apr-2005 17:00
User is offline View Users Profile Print this message


Richard Good

Posts: 152
Joined: 22-Mar-2005

Try using the actual attributes name instead of attrDXLName.

-------------------------
Regards,

Richard Good
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.