On Tue, 30 Oct 2007 13:00:12 -0400 (EDT)
Greg Smith <gsmith@gregsmith.com> 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.
Assert certainly has a pretty big penalty but debug isn't nearly as bad.
Joshua D. Drake
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.
>
> --
> * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore,
> MD
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 4: Have you searched our
> list archives?
>
> http://archives.postgresql.org
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/ UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/