Re: cvs commit: ports/graphics/libraw Makefile

[ Available lists | Index of cvs-all | Month of May 2008 | Week of 8 May 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Alex Tutubalin <lexa@lexa.ru>
Date
8 May 2008 04:59:38
Subject
Re: cvs commit: ports/graphics/libraw Makefile
Message-ID
48228173.50607@lexa.ru


[ Hide this part ]
Sergey A. Osokin wrote:
>
> I'm also Cc'ed this letter to libraw author Alex Tutubalin.
> Alex, could you provide more information about compile optimization?
> Thank you.
>
LibRaw depends heavily on Dave Coffin's dcraw utlility. I've copied -O4
option from dcraw page
(http://cybercom.net/~dcoffin/dcraw/)

Anyway, just tested it on FreeBSD7/i386 on Intel C2D
Execution time for LibRaw test is near same for -O3 and -O4
There is significant difference between -O2 and -O3 (about 10%)

So, you can change to -O3 in port Makefile patches

I will also change to -O3 in future LibRaw releases.

--
Alex Tutubalin
Web: http://blog.lexa.ru
mailto:lexa@lexa.ru



Elapsed time: 0.158 seconds