SAFS - low performance executing any robot

View: New views
4 Messages — Rating Filter:   Alert me  

SAFS - low performance executing any robot

by Fabio Andrés :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I have:
Windows XP SP 3
Rational Robot Version 2003.06.13.402.000
RRAFSRelease2007.04.18
STAF332-setup-win32
java version 1.6.0_15

I have a robot running ok all steps, but the performance execution is so slow between records (suites, step files) it takes 4 second to execute each record type.
Anybody can guide me how can I obtain better performance?.

I tried with 0 and 100 milliseconds in Rational Robot -> Tools -> GUI Playback Options -> Playback Tab ->Script Control options (Delay between commands & Delay between keystrokes)

Thanks for advanced

Re: SAFS - low performance executing any robot

by Carl Nagle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Important things to do:

Remove all Robot test extensions you are NOT going to use (Tools->Extension Manager).
In your equivalent to any CycleDriverTestScript you use something other than MAX_LOGMODE.

Instead use an OR'd combinations of the logs that are most critical for you.

Available values to be OR'd together:

SQALOG_ENABLED, TEXTLOG_ENABLED, CONSOLE_ENABLED, XMLLOG_ENABLED
(There is no functional HTMLLOG_ENABLED...)

My recommendation would be:

TEXTLOG_ENABLED OR CONSOLE_ENABLED

See 'Values for LogFacility.logmode...

http://safsdev.sourceforge.net/sqabasic2000/LogUtilities.htm#constants


And I'll assume your specifying STAF V3 is an oversight since Robot will not work with STAF V3.

Carl

-----Original Message-----
From: Fabio Andrés [mailto:rockfavc@...]
Subject: [safs-rrafs] SAFS - low performance executing any robot


Hi everyone,

I have:
Windows XP SP 3
Rational Robot Version 2003.06.13.402.000
RRAFSRelease2007.04.18
STAF332-setup-win32
java version 1.6.0_15

I have a robot running ok all steps, but the performance execution is so
slow between records (suites, step files) it takes 4 second to execute each
record type.
Anybody can guide me how can I obtain better performance?.

I tried with 0 and 100 milliseconds in Rational Robot -> Tools -> GUI
Playback Options -> Playback Tab ->Script Control options (Delay between
commands & Delay between keystrokes)

Thanks for advanced
--


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
safsdev-rrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs

Re: SAFS - low performance executing any robot

by Fabio Andrés :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Carl thank you for answer.
I'm sorry, but I don't understand about what must I to do with the constants.

Thanks & Regards

Fabio

--In your equivalent to any CycleDriverTestScript you use something other than MAX_LOGMODE.

Instead use an OR'd combinations of the logs that are most critical for you.

Available values to be OR'd together:

SQALOG_ENABLED, TEXTLOG_ENABLED, CONSOLE_ENABLED, XMLLOG_ENABLED
(There is no functional HTMLLOG_ENABLED...)

My recommendation would be:

TEXTLOG_ENABLED OR CONSOLE_ENABLED

See 'Values for LogFacility.logmode...

http://safsdev.sourceforge.net/sqabasic2000/LogUtilities.htm#constants


Re: SAFS - low performance executing any robot

by Carl Nagle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Post your Robot script you use to launch your SAFS tests.  For many who use the default setup that would be CycleDriverTest.  If you use a different script then post that.  We can then suggest the exact edits to make.

In your script there should be a line or two setting the log mode for one or more log facilities.  The default examples historically have these log modes set to MAX_LOGMODE.  This means, log to every single output log we support.  This is a serious hit on performance.

My recommendation was to find where the initialization of the log facility is and make sure you use the bare minimum of output logs.  You do this by changing "MAX_LOGMODE" to something like "TEXTLOG_ENABLED OR CONSOLE_ENABLED".  This essentially adds the two values to form a single value that enables only Robot's console and an output text log.

Carl
-----Original Message-----
From: Fabio Andrés [mailto:rockfavc@...]
Subject: Re: [safs-rrafs] SAFS - low performance executing any robot

Hi Carl thank you for answer.
I'm sorry, but I don't understand about what must I to do with the
constants.

Thanks & Regards

Fabio

--In your equivalent to any CycleDriverTestScript you use something other
than MAX_LOGMODE.

Instead use an OR'd combinations of the logs that are most critical for you.

Available values to be OR'd together:

SQALOG_ENABLED, TEXTLOG_ENABLED, CONSOLE_ENABLED, XMLLOG_ENABLED
(There is no functional HTMLLOG_ENABLED...)

My recommendation would be:

TEXTLOG_ENABLED OR CONSOLE_ENABLED

See 'Values for LogFacility.logmode...

http://safsdev.sourceforge.net/sqabasic2000/LogUtilities.htm#constants

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
safsdev-rrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs