On Fri, 13 Jun 2008 08:15:50 -0400 Eric M. Ludlam wrote:
>>>> David Hansen <david.hansen@...> seems to think that:
>>>
>>> I tried this (after cleaning up my semanticdb caches) and it went off
>>> parsing stuff for a while, but it did not duplicate anything that I
>>> could tell.
>>
>>I have a candidate for the offending file (but no hard evidence, it just
>>popped up a lot in the *messages* buffer): the attached
>>/usr/include/bits/sys_errlist.h.
>>
>>After opening it semantic parsed a lot in /usr/include/ and finally
>>seems to stfu. Can I somehow get evidence? Like removing all caches
>>and setting some var to 'barf-when-failing-to-parse-sys-errlist?
>
> Hmmm. I have that same file. When I loaded it up into a buffer, it
> spent a bunch of time parsing all the neighboring files, but then
> didn't do it a second time.
>
> Perhaps you there are too many nearby files for Emacs to parse.
>
> I checked in a change adding this option:
>
> semantic-idle-work-parse-neighboring-files-flag
>
> to disable the new neighboring file parsing feature. Perhaps this
> will fix the performance issues you are seeing.
It shouldn't be a pure performance issue. It's not the latest and
greatest but far away from being archaic trash:
,----[ cat /proc/cpuinfo ]
| processor : 0
| vendor_id : AuthenticAMD
| cpu family : 6
| model : 8
| model name : AMD Athlon(tm) XP 2200+
| stepping : 1
| cpu MHz : 1792.455
| cache size : 256 KB
| fdiv_bug : no
| hlt_bug : no
| f00f_bug : no
| coma_bug : no
| fpu : yes
| fpu_exception : yes
| cpuid level : 1
| wp : yes
| flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
| pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
| bogomips : 3586.41
| clflush size : 32
|
`----
I let my box running for a while not touching anything. It always ended
up (according to *Messages*) with parsing these all over again:
Fontifying gtktext.h... (regexps........................)
Fill column set to 79 (was 70)
Mark set
Fill column set to 79 (was 70)
Fontifying gtktree.h... (regexps........................)
Fill column set to 79 (was 70) [2 times]
Mark set
Fill column set to 79 (was 70)
Fontifying gtktreeitem.h... (regexps........................)
Fill column set to 79 (was 70) [2 times]
Mark set
Fill column set to 79 (was 70)
Fontifying sys_errlist.h... (regexps........................)
Fill column set to 79 (was 70) [2 times]
After several hours it should have finished these, shouldn't it? I'm
sorry but I have no idea how to produce more useful information.
David
|