Prev: Multicollinearity problem
Next: Wald chi-square
From: Tom Abernathy on 24 Feb 2010 12:51 GIF is a pixel based format. I assume SASPRTC is a vector format. So rather than having to store megabytes of pixels into the PDF SAS just needs to store the PDF commands to draw the lines. On Feb 24, 5:10 am, jordi <jordibrac...(a)gmail.com> wrote: > On Feb 23, 6:25 pm, karlstud...(a)HOTMAIL.COM (KarlK) wrote: > > > > > > > Jordi, > > I don't have any insight (sorry), but I'll be interested in what you find > > out. I've done a LOT of sas-graph-to-PDF stuff since v8.0, and since > > upgrading to v9.2, I find I keep saying to myself, "Gee, this seems to be > > taking a long time." Are you using 9.2? > > > Karl > > > On Tue, 23 Feb 2010 01:16:59 -0800, jordi <jordibrac...(a)GMAIL.COM> wrote: > > >Hi all, > > > >Consider this construct: > > > > options pageno=1 nodate nonumber nocenter orientation=landscape > > >noquotelenmax; > > > goptions reset=all noborder ftext=Simplex htext=4 gunit=pct > > >device=gif; > > > ods _all_ close; > > > ods pdf startpage=never notoc file=whatever.pdf'; > > > ods escapechar="^"; > > > > SOME PROC GCHART; > > > or > > > SOME PROC GRADAR; > > > > ods pdf close; > > > ods listing; > > > >My concerns are that if I try to plot the same data without generating > > >a pdf file, that is, changing the target device to, eg, "activex", my > > >code runs in a breeze, whereas with the ods pdf construct, it take > > >ages (as an example: 222 seconds vs 0.9 seconds with the activex). > > > >Looking at the log files, I can see that computing time is not the > > >problem. Somehow, it seems that it takes a long time to prepare the > > >actual images of the plots and to save them correctly in my pdf file. > > > >Any help will be much appreciated. There must be something in the form > > >of goptions to help me dramatically improve the speed of my code > > >without sacrificing the beauty and positioning power of ods pdf plots. > > > >Thank you very much for your help. > > >Regards.- Hide quoted text - > > > - Show quoted text - > > KarlK, > > I am using v9.1. > > What I found out, thanks to Ya Huang, is that changing from > "device=gif" to "device=sasprtc" in my goptions declaration greatly > reduces performance time. > > As an example, here is what it takes for a piece of code containing > one PROC GCHART and one PROC GRADAR together with some PROC TABULATE > and a DATA STEP: > > * with "device=gif": 223.19 seconds > * with "device=sasprtc": 0.81 seconds > > Why, I do not know I. > Hope this can help you as well. > > Jordi.- Hide quoted text - > > - Show quoted text - |