Nuno Santos wrote:
I’m struggling with performance questions on Android. https://groups.google.com/forum/#!topic/andraudio/zuXnnmZyePk
Your results tell that your program computes 10^9 operations in a few dozen microseconds. There is definitely something wrong here because even the most advanced ARM processors are not known to be multi-teraflops CPUs. Actually the compiler might think it can keep only one loop, or even none, given that the result of each loop will always be the same, and this result isn’t even used somewhere else in the program. You should introduce slight dependencies in your test in order to defeat this kind of optimisation. The difference between the compiler settings you tried are most likely caused by variations in initialisation sequences, scheduling glitches or timer inaccuracies. _______________________________________________ dupswapdrop: music-dsp mailing list music-dsp@music.columbia.edu https://lists.columbia.edu/mailman/listinfo/music-dsp