Re: [cedet-semantic] cedet over tramp too slow?
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2013-01-19 03:54:12
|
On 01/18/2013 10:06 PM, Rodrigo Amestica wrote: > Hello Eric, > > I do not see the patch having any apparent effect. #1 (emacs startup) > and #2 (first look up for auto completion) are both still very > slow. (I applied the patch and then I byte-compiled the patch file, I > also settle the 'promise' variable to t). > > I have tried all this from home, connected to the remote machine over > a typical ISP. Next week I will try all this again from within the > intranet at work (remote machine is there), where I also use the same > tramp scheme from my laptop. Well, that's what I get for trying something without running the profiler first. The right thing to do now is use elp, the emacs lisp profiler. The very first completion attempt will always be pretty slow as it loads in files, so you can try elp on that. Semantic has a handy wrapper around ELP to help figure out what's going on. M-x load-library RET semantic/elp RET Put cursor someplace to complete M-x semantic-elp-analyze RET It will save the run into an elp file I'll be able to load in later. You can also enjoy a bit of browsing through the results to see what the big hitters are. The browser lets you resort the results for different criteria. I don't recall all the keystrokes anymore though. Good Luck Eric |