[flac-dev] 1.21 vs 1.3 encoding speed

Scott Brown scottcbrown at gmail.com
Sun Jul 27 05:16:28 PDT 2014


Adding -O3 now has these results:

51.81 seconds for the file that took 222 seconds without -O3. So that was
it.

Thank you!

Scott


On Sat, Jul 26, 2014 at 3:47 AM, Martijn van Beurden <mvanb1 at gmail.com>
wrote:

> op 25-07-14 19:32, Scott Brown schreef:
> > ./configure -enable-static -disable-shared CFLAGS=" -isysroot
> > /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6"
> > make
>
> Well, the use of CFLAGS 'disables' the -O3 and unroll-loops
> optimisation. I'm quite sure that's the culprit. Add -O3 to your
> CFLAGS and it should be fixed.
>
> See the following lines in the configure script
>
> >         if test "x$user_cflags" = x; then
> >             CFLAGS="-O3 -funroll-loops -Wall -W -Winline"
> >         fi
>
> Maybe we should change this 'overriding' behaviour of CFLAGS and
> add -O3 just like most other options are added to the CFLAGS?
>
> _______________________________________________
> flac-dev mailing list
> flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20140727/43302f89/attachment.htm 


More information about the flac-dev mailing list