Re: SELECT constant; takes 15x longer on 9.0? - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: SELECT constant; takes 15x longer on 9.0?
Date
Msg-id 157174C9-CA95-474A-B263-D26D74FD0C4C@kineticode.com
Whole thread Raw
In response to Re: SELECT constant; takes 15x longer on 9.0?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: SELECT constant; takes 15x longer on 9.0?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Apr 6, 2010, at 11:15 AM, Tom Lane wrote:

>> By stupidly having configured with --enable-cassert --enable-debug without realizing it. I've just rebuilt without
themand run the tests again using the default postgresql.conf and I'm back down to 57s and 46s over two runs. 
>
> Huh.  I'm still curious, because in my test the overhead of those
> options seemed to be about 3x.  So there's still something considerably
> different between what you did and what I did.

Are you doing this on a Mac?

> Are you testing a separate connection per ping query?  I think I
> neglected to compare that case with and without assert overhead.

No, should be one connection for the entire test suite.

Best,

David

pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: SELECT constant; takes 15x longer on 9.0?
Next
From: Simon Riggs
Date:
Subject: Re: Remaining Streaming Replication Open Items