Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W7PBq-0002Mr-RL for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Jan 2014 12:51:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W7PBq-0004z8-7E for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Jan 2014 12:51:54 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W7PBo-0004yy-9w for pgsql-hackers@postgresql.org; Sun, 26 Jan 2014 12:51:52 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W7PBh-00006V-L3 for pgsql-hackers@postgresql.org; Sun, 26 Jan 2014 12:51:51 +0000 Received: from intern.anarazel.de (p54AF4983.dip0.t-ipconnect.de [84.175.73.131]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 1F35A4E8002; Sun, 26 Jan 2014 13:51:43 +0100 (CET) Date: Sun, 26 Jan 2014 13:51:41 +0100 From: Andres Freund To: Tomas Vondra Cc: pgsql-hackers@postgresql.org Subject: Re: GIN improvements part2: fast scan Message-ID: <20140126125141.GE30218@alap3.anarazel.de> References: <528533D9.3040501@vmware.com> <52E141BA.5000302@vmware.com> <52E4141E.60609@fuzzy.cz> <52E42AD0.5060600@vmware.com> <52E4AA3A.9000607@fuzzy.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E4AA3A.9000607@fuzzy.cz> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers