Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Bad Performance in Dev Studio Possibly due to Inefficient coding

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Bad Performance in Dev Studio Possibly due to Inefficient coding
 Login/Join
 
Master
posted
I have an application that contains 900 files and approximately 700 .mas and .acx files. When I click refresh this takes approximately 10 seconds to perform the refresh.

I did some further investigation using the Communication Layer Trace Facility.

The files are returned via a WebFOCUS query.

quote:

APP ENABLE

APP QUERY &APPNAME HOLD

DEFINE FILE FOCAPPQ

DEL/A1='.';

EXT1/A8 = GETTOK(FILENAME,70,-1,DEL,8,'A8');

EXTENSION/A8 = UPCASE(8,EXT1,'A8');

FNAME/A70 = FILENAME;

UCFNAME/A70 = UPCASE(70,FILENAME,'A70');

FOLDER/A8 = DECODE EXTENSION(HTM HTML FEX FOCEXEC MAS MASTER ACX MASTER

STY FOCSTYLE GIF GIF ELSE OTHER);

END

TABLE FILE FOCAPPQ

PRINT FNAME EXTENSION DATE TIME GMTTIME SIZE APPNAME

BY FOLDER

BY UCFNAME NOPRINT

ON TABLE HOLD FORMAT XML AS TEST

END

-TYPE RC=&RETCODE

SET HTMLFORMTYPE=XML

-HTMLFORM TEST


I did some timing on this using the Agents Statistics and this action took 1 second.

That still leaves 9 seconds and I used Process Explorer to check what was happening. During these 9 seconds Dev Studio was taking virtually 100% of the CPU. This suggests it was not waiting for any external event but doing some kind of processing.

Now in my experience a memory to memory copy 900 records does not take 9s on any machine. So I would humbly suggest that this process has somehow become inefficient.

Can I ask if someone out there has an application directory of similar size and what kind of performance they get on refresh. Is it a similar response? I did check that anti-virus was not having any effect on our example.

If there are any ibi'ers reading this who know the fellow who wrote this could you ask him to check and see if he hasn't done anything silly in his code where the file data is inserted into the internal structure.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Platinum Member
posted Hide Post
I have similar response on my machine. ByTheWay: The refresh key does more then just refresh the contents of that one app folder. You will notice that the first time you click in the folder it takes less time (but I agree it is still not quick).


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Report This Post
Master
posted Hide Post
Brian

This seems to be a 7.6.2 issue because a colleague has just checked ds 7.1.3 and this same directory listing takes about 2s.

John



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Bad Performance in Dev Studio Possibly due to Inefficient coding

Copyright © 1996-2020 Information Builders