Re: performance hit with --enable-debug

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Re: performance hit with --enable-debug
Дата
Msg-id 20010115183740.C1236@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответ на Re: performance hit with --enable-debug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sun, Jan 14, 2001 at 12:58:16PM -0500, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> The effect in terms of query execution speed is probably minimal.  The
> >> problem is that the executables get about 15% larger, which can lead to
> >> longer load times, more memory usage, and ultimately to some speed issues.
>
> > Not sure about the longer load times.
>
> I don't believe that either.  The debug symbol tables aren't part of the
> memory-resident image, they just sit out there on disk ... at least in
> Unixen that I'm familiar with.
>
> I think this is worth looking at more closely.  I can't see any reason
> that Tom should be seeing a 30x performance hit from --enable-debug;
> there's something going on here that I don't understand.

I suppose something to try is compile with --enable-debug, then strip the
resultant executable, and see if it is as fast as (should be identical to?)
executable generated without --enable-debug..

Cheers,

Patrick

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Seymour
Дата:
Сообщение: simple version question
Следующее
От: snef
Дата:
Сообщение: date/time