Your SAS programs, embedded in web apps and elsewhere

SAS STP Execution Time

Reply
Contributor
Posts: 45

SAS STP Execution Time

we have a STP that runs on SASAPP stored process server with streaming option since we need to return some graphics.  the browser console indicates that the STP ran about 15 seconds.  however, when i check the sas log of the STP code, the real time execution is nowhere near 15 seconds.  any idea where is the extra time from?  or the sas log real time isn't accurate?  thanks.

Super User
Posts: 7,831

Re: SAS STP Execution Time

Look at the CPU consumption of your jboss or whatever serves the web applications. Most time is probably spent there.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor
Posts: 45

Re: SAS STP Execution Time

Posted in reply to KurtBremser

nevermind.  found out it's due to x command.  sas obviously doesn't capture any time in the log.

Super User
Posts: 5,432

Re: SAS STP Execution Time

Consider using filename pipe instead.

I assume at least real time will reflect the time spent with your host call.

Data never sleeps
Trusted Advisor
Posts: 3,214

Re: SAS STP Execution Time

The real-time is the wall clock time and cpu-time the time spend added by multiple processors.
Those measurements are the ones a seen by the SAS process. That is excluding the transfer between SAS and the desktop.

It is excluding time spend by external processes (RDBMS or OS).

As you are talking about graphics you could also have something there. X11 may be used for that at the OS level (Unix types) that should be installed with the virtualization layer. As Unix admins do not like graphical approaches it is often omitted. Xvfb - Wikipedia, the free encyclopedia
 

---->-- ja karman --<-----
Ask a Question
Discussion stats
  • 4 replies
  • 671 views
  • 0 likes
  • 4 in conversation