[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tooltips GC overhead
From: |
martin rudalics |
Subject: |
Re: Tooltips GC overhead |
Date: |
Wed, 29 Jul 2015 20:05:45 +0200 |
>> Does that mean I have to recompile all elisp files?
>
> No, just the .o files, src/temacs, src/bootstrap-emacs, and src/emacs.
Good. I did that.
>> Anyway. If you do `profiler-start', move the mouse over your mode line
>> for a few seconds so that tooltips show up a couple of times and then do
>> `profiler-report' and look at the results: Can you tell me from your
>> report where `tooltip-show' allocates more than half of the bytes it
>> allocates if _not_ in `x-show-tip'?
>
> I presume those bytes are allocated directly by tooltip-show. By "directly" I mean via
a function written in C, e.g., "cons".
There are one call of `copy-sequence', two calls of `stringp', three of
`setf', one of `propertize' and one of `selected-frame'. Together these
would allocate some 20 million bytes?
OTOH the `copy-sequence', `face-attribute' and `alist-get' calls get
nowhere listed.
martin
- Re: Tooltips GC overhead, (continued)
- Re: Tooltips GC overhead, martin rudalics, 2015/07/30
- Re: Tooltips GC overhead, Paul Eggert, 2015/07/30
- Re: Tooltips GC overhead, martin rudalics, 2015/07/30
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/07/30
- Re: Tooltips GC overhead, martin rudalics, 2015/07/30
- Re: Tooltips GC overhead, Stefan Monnier, 2015/07/30
- RE: Tooltips GC overhead, Drew Adams, 2015/07/30
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/07/31
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/07/31
- Re: Tooltips GC overhead, Paul Eggert, 2015/07/29
- Re: Tooltips GC overhead,
martin rudalics <=
- Re: Tooltips GC overhead, Paul Eggert, 2015/07/29
- Re: Tooltips GC overhead, martin rudalics, 2015/07/30