[Portaudio] pa_mac_core and gcc3.1 performance test
Darren Gibbs
tsquank@yahoo.com
Thu, 2 May 2002 23:48:31 -0700
Howdy,
For giggles I just downloaded the new Mac OS X developer tools install
which included a beta of the gcc3.1 compiler. I grabbed the latest
portaudio snapshot and ran patest_maxsines.c to see what happened.
Tests were run on a TiBook667 with Mac OS X 10.1.4.
WIth gcc2.95 and no optimization I got 51 sines. With gcc2.95 and the
-03 flag set I got 115 sines. With gcc3.1 and -03 I got 161 sines...
not a mindblowing improvement, but ~30% for free is better'n a kick in
the head. Apple claims they haven't extensively worked on codegen for
gcc3.1 yet, so it'll get even better eventually.
BTW, I was unable to build the v17 version of portaudio with
pa_mac_core.c. I was getting link errors because it was missing
*convert* symbols. I looked at the nightly snapshot and found
pa_convert.c so I added it to the stock v17. But then it wouldn't build
because of undefined types in pa_convert.c. Are v17 and pa_mac_core.c
not friendly? The nightly snapshot built fine.