<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Speed of EG Vs. Base...Nice Results on Export in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563346#M33872</link>
    <description>&lt;P&gt;If you can you might also post the code you have in &lt;SPAN class="token string"&gt;"R:\SAS Batch\SAS Programs\Partial V4.sas"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That might give hints as to what is slower in EG.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2019 17:30:54 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-06-03T17:30:54Z</dc:date>
    <item>
      <title>Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563326#M33868</link>
      <description>&lt;P&gt;I had posted about EG being slow in a project given to me and ideas of how to speed it up. The first one was to export all the code and run it in base SAS via:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -SYSIN "R:\SAS Batch\SAS Programs\Partial V4.sas" -LOG "R:\SAS Batch\Logs\Partial\Partial2D_%today%.log" -PRINT "R:\SAS Batch\LST\Partial2D.lst"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The original EG run time is 70 minutes. Sending the code to Base SAS via above is 2 minutes....same results every time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this? Seems like this is they way to go without doing anything else. What is EG doing to make it so slow?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 16:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563326#M33868</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-03T16:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563327#M33869</link>
      <description>&lt;P&gt;As someone mentioned in the previous thread - ODS output, HTML etc take up a lot of time to generate. Did you turn off outputs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/142314"&gt;@BCNAV&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I had posted about EG being slow in a project given to me and ideas of how to speed it up. The first one was to export all the code and run it in base SAS via:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -SYSIN "R:\SAS Batch\SAS Programs\Partial V4.sas" -LOG "R:\SAS Batch\Logs\Partial\Partial2D_%today%.log" -PRINT "R:\SAS Batch\LST\Partial2D.lst"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The original EG run time is 70 minutes. Sending the code to Base SAS via above is 2 minutes....same results every time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is this? Seems like this is they way to go without doing anything else. What is EG doing to make it so slow?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 16:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563327#M33869</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-03T16:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563330#M33870</link>
      <description>&lt;P&gt;There are no ODS or HTML commands used...or is EG doing something on its own? What ODS commands/HTML commands should be run in a code node first?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would it be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="sas"&gt;ods graphics off;
ods exclude all;
ods noresults;&lt;BR /&gt;&lt;SPAN&gt;ods html close;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;thx&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 16:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563330#M33870</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-03T16:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563338#M33871</link>
      <description>ODS destinations are on by default, so if you didn't turn them off that's an issue.&lt;BR /&gt;&lt;BR /&gt;ODS _all_ Close;&lt;BR /&gt;ods listing; *since that's the one you want;&lt;BR /&gt;&lt;BR /&gt;It depends on the code you're running as well. If it's all data steps or SQL queries this wouldn't matter, unless it's trying to open results as well. Make sure show results as generated option is also turned off. &lt;BR /&gt;&lt;BR /&gt;I'd try those for starters.&lt;BR /&gt;&lt;BR /&gt;I would also consider not having any Listing output, unless you really need it and explicitly pipe those to tables and then export as needed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2019 17:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563338#M33871</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-03T17:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563346#M33872</link>
      <description>&lt;P&gt;If you can you might also post the code you have in &lt;SPAN class="token string"&gt;"R:\SAS Batch\SAS Programs\Partial V4.sas"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That might give hints as to what is slower in EG.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 17:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563346#M33872</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-03T17:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563356#M33873</link>
      <description>&lt;P&gt;Well...it is a huge program, so I'm thinking I won't post.Very nice how fast it is when sent to base SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So....is there anything in a code node that I can run before any of the other process flows that would speed up EG?&amp;nbsp; In the end it doesn't matter, as I have a quick solution now. But it would be nice to figure out what EG is doing that makes it so slow.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 18:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563356#M33873</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-03T18:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563358#M33874</link>
      <description>&lt;P&gt;BTW, there is no ODS output, just SQL (joins/merges) and datasteps&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 18:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563358#M33874</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-03T18:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563364#M33875</link>
      <description>&lt;P&gt;see attached....no so big after all&amp;nbsp;&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://communities.sas.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 18:36:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563364#M33875</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-03T18:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563373#M33876</link>
      <description>&lt;P&gt;Very interesting; as you've found a workaround, I assume this has become an intellectual exercise. As such, it's an interesting one. Everything that you've said, and everything that the other posters have said, makes perfect sense in my opinion. I've taken a very quick look at the code, and I don't see anything that would intrinsically cause it to run significantly slower in EG than using your base SAS execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are a few things that occur to me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When you run it outside of EG, is it running on the same machine as when you submit it through EG?&lt;/LI&gt;
&lt;LI&gt;Is there something in the environment options that is different in EG and outside of it? Particularly the memory options.&lt;/LI&gt;
&lt;LI&gt;I'm not quite sure what I'm asking here, but is there some way that there's a slow communication channel involved when you're running it in EG, as opposed to outside of EG? (You should see the difference when data is being slung around on 10Mb Ethernet as opposed to Gb).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any energy for continuing to chase this down, you could put this before your first piece of SAS code, and after the last piece, and see if the times shown make sense in terms of what the elapsed time appears to be to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
	file log;
	TimeStamp = put(datetime(), datetime.);
	put TimeStamp=;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you do chase this down, please let us know what the solution is. I'm quite intrigued!&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 19:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563373#M33876</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-06-03T19:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563376#M33877</link>
      <description>&lt;P&gt;Same machine....and yes it has become an intellectual exercise to figure this out....EG is slow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do use the start end time you suggest.&amp;nbsp; Here is my latest:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Time Partial Started&lt;/TD&gt;&lt;TD&gt;2019-06-03 9:17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Time Partial Ended&lt;/TD&gt;&lt;TD&gt;2019-06-03 10:45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Time Taken (Minutes)&lt;/TD&gt;&lt;TD&gt;88.45&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exported Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Time Partial Started&lt;/TD&gt;&lt;TD&gt;2019-06-03 12:23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Time Partial Ended&lt;/TD&gt;&lt;TD&gt;2019-06-03 12:26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Time Taken (Minutes)&lt;/TD&gt;&lt;TD&gt;3.53&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So bizarre!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 19:46:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563376#M33877</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-03T19:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563396#M33878</link>
      <description>&lt;P&gt;I would compare the SAS logs of the two runs to identify which steps have the biggest time differences. It might also be worth using the SAS option FULLSTIMER and compare memory usage as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our EG versus batch run times are pretty much the same, as they should be, except where ODS is involved.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 21:29:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563396#M33878</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-03T21:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563427#M33883</link>
      <description>Not sure if this was asked already but both are running the same version and hitting the same server?&lt;BR /&gt;&lt;BR /&gt;Second, there was a post late last year that had a similar situation. I can't remember the exact details but I believe Rick Wicklin helped resolve that one.</description>
      <pubDate>Tue, 04 Jun 2019 03:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/563427#M33883</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-04T03:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/565107#M33955</link>
      <description>&lt;P&gt;It sounds like you exported all the code from your EG project to "Partial V4.sas" and then compared the time it takes the original EG project to run to the time it takes Base SAS to run the exported code "Partial V4.sas".&amp;nbsp; &lt;STRONG&gt;How long does it take EG to run "Partial V4.sas" (run the exported code in a new EG session, rather than running the original EG project)?&lt;/STRONG&gt;&amp;nbsp; It should be very similar to the amount of time it takes Base SAS to run it, especially if EG isn't configured to generate ODS results (if you don't have any results formats checked in EG's Tools-&amp;gt;Options-&amp;gt;Results-&amp;gt;Results General).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 04:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/565107#M33955</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2019-06-11T04:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/565314#M33961</link>
      <description>&lt;P&gt;My EG Results General Tab is attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS-Results-General.png" style="width: 489px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30210iCB967069BDF3B87B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS-Results-General.png" alt="SAS-Results-General.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:19:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/565314#M33961</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2019-06-11T16:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Speed of EG Vs. Base...Nice Results on Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/565894#M33983</link>
      <description>&lt;P&gt;Ok, thanks.&amp;nbsp; You could try unchecking the "SAS Report" results format (ODS results) and see if it makes a difference.&amp;nbsp; It would also be helpful to know the answer to my previous question...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How long does it take EG to run "Partial V4.sas" (run the exported code in a new EG session, rather than running the original EG project)?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Were the earlier times you posted (~88 mins) for EG how long it took EG to run the original EG project or for EG to run the single program file "Partial V4.sas"?&amp;nbsp; Assuming it was the amount of time it took EG to run the original EG project, I'd like to know how long it takes EG to run the single program file (Partial V4.sas), so we can then compare that to running the same program in Base SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 15:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Speed-of-EG-Vs-Base-Nice-Results-on-Export/m-p/565894#M33983</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2019-06-13T15:33:25Z</dc:date>
    </item>
  </channel>
</rss>

