Re: Deferring some AtStart* allocations? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Deferring some AtStart* allocations?
Date
Msg-id CA+TgmoYe3a3L62O_HSuA2c3q7AAWJDejj-cmDaO2V54n+Q_+MQ@mail.gmail.com
Whole thread Raw
In response to Re: Deferring some AtStart* allocations?  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Deferring some AtStart* allocations?
List pgsql-hackers
On Thu, Oct 9, 2014 at 5:34 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> Interesting - in my local profile AtStart_Inval() is more pronounced
> than AfterTriggerBeginQuery(). I've quickly and in a ugly fashion hacked
> AtStart_Inval() out of readonly queries ontop of your patch. Together
> that yields a ~3.5% performance improvement in my trivial 'SELECT * FROM
> tbl WHER pkey = xxx' testcase.

Whoa.  Now that's clearly significant.  You didn't attach the patch;
was that inadvertent, or was it too ugly for that?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Escaping from blocked send() reprised.
Next
From: Andres Freund
Date:
Subject: Re: Deferring some AtStart* allocations?