Desktop productivity for business analysts and programmers

AutoComplete

Reply
Super Contributor
Posts: 578

AutoComplete

Is there anything I can do (other than turning it off) to make autocomplete usable in long programs?  I have an 1100 line program.  If autocomplete is on, then EG can't keep up with typing.  It can be as much as a second between each keystroke appearing.

PROC Star
Posts: 1,287

Re: AutoComplete

Wow, do you mean literally every key stroke takes a second to appear?  Or do you mean if you start typing a dataset name, it takes a second for the list of dataset autocomplete options to show up?

Guessing it's every key stroke, that sounds bad (and odd).

When you turned off autocomplete, did it fix the problem?  If so, maybe you could "turn down" autocomplete (have it do less autocompleting for you).

I'm not sure how autocomplete works.  I think for autocompleting dataset names, it may actually need to read dictionary.tables or something like that to get list of datasets in a library.  So assuming you are using SAS on a server, that could take communication between client and server.  When we initially set up EG running locally on our PCs connecting to a remote server, performance was horrible (slow start up time, lots of time for results to be returned to client, etc, the SAS jobs themselves ran fine).   After plenty of diagnosing it was decided that the server was "too remote"  (usual story: network guys blame the application, application guys blame the network).    So now we remote desktop into a windows server which sits next to the SAS server, and run EG there.   Performance isn't snappy (partly because of RD), but it's fine.

--Q.

Super Contributor
Posts: 578

Re: AutoComplete

So the further down the program I go, the longer the response time.  It happens for every keystroke, not just supplying the members of a library.  If I turn autocomplete off, there is no lag.

PROC Star
Posts: 1,287

Re: AutoComplete

Sounds very odd.  Suggest putting in a ticket with tech support.  There are plenty of strings that autocomplete shouldn't even be trying to complete for you (e.g. text strings in quotes), AFAIK.  Just for fun, if you have PC SAS, might check if the lag is the same for EG session pointing to your local SAS instead of a server.  Very odd.

Community Manager
Posts: 2,882

Re: AutoComplete

You might also check the latest hotfix for 6.1m1 (July 2014).  There might have been a performance fix that snuck in there -- good idea to try if you have the ability to apply it...

Chris

Frequent Contributor
Posts: 97

Re: AutoComplete

Might have something to do with WPF - I've had performance vary wildly depending on whether DirectX 9 likes my graphics driver. Have a look at this, particularly the WPF renderer capability tier

http://support.sas.com/documentation/onlinedoc/guide/blog/WPF_SASEG43.pdf

Ask a Question
Discussion stats
  • 5 replies
  • 786 views
  • 3 likes
  • 4 in conversation