[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tooltips GC overhead
From: |
Eli Zaretskii |
Subject: |
Re: Tooltips GC overhead |
Date: |
Mon, 03 Aug 2015 17:56:18 +0300 |
> From: Stefan Monnier <address@hidden>
> Date: Mon, 03 Aug 2015 06:34:52 -0400
> Cc: Paul Eggert <address@hidden>, address@hidden
>
> > The absolute value for `x-show-tip' is surely wrong. `x-show-tip'
> > is responsible for 90% (or maybe 89%) of the allocations.
>
> A potential source of such errors is that we count the moment when
> "malloc" is called, and this can be misleading: you could do a thousand
> "cons" calls in x-show-tip, all satisfied from the list of free
> cons-cells, and then a single "cons" call elsewhere which finds the free
> list to be empty and hence does a "malloc" which will re-fill the free
> list with another thousand cons cells.
Indeed, when I looked into this issue, I tracked increments to
consing_since_gc. Perhaps we should change the "memory" profiler to
do the same.
- Re: Tooltips GC overhead, martin rudalics, 2015/08/01
- Re: Tooltips GC overhead, Stefan Monnier, 2015/08/03
- Re: Tooltips GC overhead,
Eli Zaretskii <=
- Re: Tooltips GC overhead, Stefan Monnier, 2015/08/03
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/08/03
- Re: Tooltips GC overhead, Stefan Monnier, 2015/08/04
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/08/04
- Re: Tooltips GC overhead, Stefan Monnier, 2015/08/07
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/08/07
- Re: Tooltips GC overhead, Stefan Monnier, 2015/08/07
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/08/07
- Re: Tooltips GC overhead, Stefan Monnier, 2015/08/07
- Re: Tooltips GC overhead, Eli Zaretskii, 2015/08/08