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.
Look at the CPU consumption of your jboss or whatever serves the web applications. Most time is probably spent there.
nevermind. found out it's due to x command. sas obviously doesn't capture any time in the log.
Consider using filename pipe instead.
I assume at least real time will reflect the time spent with your host call.
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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.