Re: Optimization levels when compiling PostgreSQL...
Florian Weimer <weimer@cert.uni-stuttgart.de>
From: Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
To: pgsql-hackers@postgresql.org
Date: 2002-09-23T05:44:54Z
Lists: pgsql-hackers
Sean Chittenden <sean@chittenden.org> writes: > I'm thinking about changing this from a beta port to a -devel port > that I'll periodically update with snapshots. I'll turn on -O6 for > the -devel port and -O2 for production for now. If I don't hear of > any random bogons in the code I'll see if I can't increase it further > to -O3 and beyond at a slow/incremental rate. -O3 is usually slower than -O2 because of increased code size due to automatic inlining. With GCC, -O4 etc. are all equivalent to -O3. -- Florian Weimer Weimer@CERT.Uni-Stuttgart.DE University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/ RUS-CERT fax +49-711-685-5898