<div dir="ltr">I forgot to post to this list yesterday, so here's my latest email to the dev list:<br><br>--------- Forwarded message ----------<br>From: <b class="gmail_sendername">Scott Brown</b> <span dir="ltr"><<a href="mailto:scottcbrown@gmail.com">scottcbrown@gmail.com</a>></span><br>
Date: Sun, Jul 27, 2014 at 8:16 AM<br>Subject: Re: [flac-dev] 1.21 vs 1.3 encoding speed<br>To: Martijn van Beurden <<a href="mailto:mvanb1@gmail.com">mvanb1@gmail.com</a>><br>Cc: <a href="mailto:flac-dev@xiph.org">flac-dev@xiph.org</a><br>
<br><br><div dir="ltr">Adding -O3 now has these results:<div><br></div><div>51.81 seconds for the file that took 222 seconds without -O3. So that was it.</div><div><br></div><div>Thank you!</div><span class=""><font color="#888888"><div>
<br></div><div>Scott</div></font></span></div>
<br><br>On Sat, Jul 26, 2014 at 3:47 AM, Martijn van Beurden <span dir="ltr"><<a href="mailto:mvanb1@gmail.com" target="_blank">mvanb1@gmail.com</a>></span> wrote:<br>
op 25-07-14 19:32, Scott Brown schreef:<br>
<div>> ./configure -enable-static -disable-shared CFLAGS=" -isysroot<br>
> /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6"<br>
> make<br>
<br>
</div>Well, the use of CFLAGS 'disables' the -O3 and unroll-loops<br>
optimisation. I'm quite sure that's the culprit. Add -O3 to your<br>
CFLAGS and it should be fixed.<br>
<br>
See the following lines in the configure script<br>
<br>
> if test "x$user_cflags" = x; then<br>
> CFLAGS="-O3 -funroll-loops -Wall -W -Winline"<br>
> fi<br>
<br>
Maybe we should change this 'overriding' behaviour of CFLAGS and<br>
add -O3 just like most other options are added to the CFLAGS?<br>
<br>
______________________________<div>_________________<br>
flac-dev mailing list<br>
<a href="mailto:flac-dev@xiph.org" target="_blank">flac-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/flac-dev</a></div><br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 26, 2014 at 11:38 AM, <span dir="ltr"><<a href="mailto:dathead2@gmail.com" target="_blank">dathead2@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Please cc: the results from dev list back here though</div><div><br></div><div>
I would run some tests on a diff platform but don't have access to my PC for a few weeks</div>
<div><br></div><div>Would also be interesting to see what decoding stats you get</div><div><div><div><br>On Jul 25, 2014, at 7:38 AM, Scott Brown <<a href="mailto:scottcbrown@gmail.com" target="_blank">scottcbrown@gmail.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr"><div>I will post to the dev list, sorry about that.<br><br>To give an idea, though, at flac level 8:<br><br></div><div>24/96 wav file<br></div><div>1.21: 61.05 seconds. ratio=0.690<br>
</div><div>1.3: 222.48 seconds. ratio=0.690<br>
</div><div><br></div><div>smaller 16/44.1 wav file<br></div><div>1.21: 14.28 seconds. ratio=0.487<br></div><div>1.3: 51.21 seconds. ratio=0.487<br><br></div>Scott<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jul 25, 2014 at 2:39 AM, <span dir="ltr"><<a href="mailto:dathead2@gmail.com" target="_blank">dathead2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto"><div>Are you sure they didn't change the default encoding level ?</div><div><br></div><div>I would include some example timings to give a better idea of what "significantly slower" is</div><div>
<br></div><div>Wonder if you see same for 44/16 files?</div><div><div><div><br>On Jul 25, 2014, at 2:29 AM, Martijn van Beurden <<a href="mailto:mvanb1@gmail.com" target="_blank">mvanb1@gmail.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div>
Hi,<br>
<br>
You might want to report this to the flac-dev mailinglist instead of
the flac (users) list.<br>
<br>
<div>op 24-07-14 22:02, Scott Brown schreef:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello,<br>
<br>
</div>
I'm on a Mac and I'm noticing that encoding via the flac
command line is significantly slower with version 1.3.0 than
1.2.1. I'm encoding a 24/96 file to flac, both from wav and
aiff and both formats are showing the same speed decrease
when using 1.3.0.<br>
<br>
</div>
Also, 1.2.1 will not encode an aiff-c file, but 1.3.0 will. Is
this change documented anywhere?<br>
<br>
</div>
Thanks,<br>
Scott<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Flac mailing list
<a href="mailto:Flac@xiph.org" target="_blank">Flac@xiph.org</a>
<a href="http://lists.xiph.org/mailman/listinfo/flac" target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a>
</pre>
</blockquote>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Flac mailing list</span><br><span><a href="mailto:Flac@xiph.org" target="_blank">Flac@xiph.org</a></span><br>
<span><a href="http://lists.xiph.org/mailman/listinfo/flac" target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
Flac mailing list<br>
<a href="mailto:Flac@xiph.org" target="_blank">Flac@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac" target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a><br>
<br></blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div></div></div>