Re: install-strip causes dyld errors on OS X

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: install-strip causes dyld errors on OS X
Date: 2007-10-30 17:08:28
Message-ID: 4727650C.5020408@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Greg Smith wrote:
> On Tue, 30 Oct 2007, Alvaro Herrera wrote:
>
>> It would also be good to make --enable-debug the default.
>
> The last time I did a build with both --enable-debug and
> --enable-cassert, I was seeing pgbench results that were significantly
> (around 40% I think) slower than without those two. I never circled
> back to assigning blame to the individual options, but I'd suggest some
> caution here before turning one of these on by default. I'd want to see
> benchmarking on a couple of platforms to prove that it doesn't slow
> things down before making such a change.

--enable-cassert is the culprit. You don't want to enable that if you're
doing performance testing. I haven't seen a slowdown from
--enable-debug, though I haven't specifically tested that.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-10-30 17:09:25 Re: install-strip causes dyld errors on OS X
Previous Message Joshua D. Drake 2007-10-30 17:07:46 Re: install-strip causes dyld errors on OS X

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-10-30 17:09:25 Re: install-strip causes dyld errors on OS X
Previous Message Joshua D. Drake 2007-10-30 17:07:46 Re: install-strip causes dyld errors on OS X