It's only part of the puzzle, but I run speed benchmarks as part of the continious build: http://ex.seabright.co.nz/helpers/buildlog http://ex.seabright.co.nz/helpers/benchcompare http://ex.seabright.co.nz/build/gcc-linaro-4.5-2010.09-1/logs/armv7l-maveric...
I've just modified this to build different variants as well. ffmpeg now builds as supplied (-O2 and others), with -Os, with hand-written assembler turned off, and with -mfpu=neon. corebench builds in -O2 and -Os.
This might be one way to approach things. It's simple to add other programs into the mix.
-- Michael
On Fri, Sep 17, 2010 at 4:05 AM, Dave Martin dave.martin@linaro.org wrote:
It would be interesting if we could get a good, representative set of comparative benchmarks for the size and performance impact of -Os.
I did a bit of investigation here:
https://wiki.linaro.org/Platform/Foundations/OptimiseForSize
(though with just a few packages and only one benchmark, it's not very comprehensive)
Cheers ---Dave
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain