| From: | Florian Weimer <Weimer(at)CERT(dot)Uni-Stuttgart(dot)DE> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Optimization levels when compiling PostgreSQL... |
| Date: | 2002-09-23 05:44:54 |
| Message-ID: | 8765wx6yzt.fsf@Login.CERT.Uni-Stuttgart.DE |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Sean Chittenden <sean(at)chittenden(dot)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(at)CERT(dot)Uni-Stuttgart(dot)DE
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT fax +49-711-685-5898
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Shridhar Daithankar | 2002-09-23 06:34:59 | Re: Improving speed of copy |
| Previous Message | Bruce Momjian | 2002-09-23 05:26:25 | HISTORY updated for 7.3beta2 |