08-27-2014 07:46 AM
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.
08-27-2014 08:17 AM
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.
08-27-2014 03:30 PM
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.
08-28-2014 10:12 AM
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.
09-04-2014 11:24 AM
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