Re: GIN improvements part2: fast scan - Mailing list pgsql-hackers

From Andres Freund
Subject Re: GIN improvements part2: fast scan
Date
Msg-id 20140126125141.GE30218@alap3.anarazel.de
Whole thread Raw
In response to Re: GIN improvements part2: fast scan  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-hackers
On 2014-01-26 07:24:58 +0100, Tomas Vondra wrote:
> Not sure how to interpret that, though. For example where did the
> ginCompareItemPointers go? I suspect it's thanks to inlining, and that
> it might be related to the performance decrease. Or maybe not.

Try recompiling with CFLAGS="-fno-omit-frame-pointers -O2" and then use
perf record -g. That gives you a hierarchical profile which often makes
such questions easier to answer.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Standalone synchronous master
Next
From: Andres Freund
Date:
Subject: Re: Freezing without write I/O