On 2 March 2011 09:51, Michael Hope <michael.h...@linaro.org> wrote: > On Tue, Mar 1, 2011 at 3:53 PM, Jim Huang <jim.hu...@linaro.org> wrote: [...] >> The skia maintainer, Mike Reed, made two branches: one is hosted in >> Google Code, and another is >> inside Android source tree: >> http://android.git.kernel.org/?p=platform/external/skia.git;a=summary > > Thanks Jim. The Android tree doesn't have any build scripts and I'm > reluctant to stray too far away from upstream by adding my own. I'll > stick with the code.google one for now. > > I've updated: > http://bazaar.launchpad.net/~linaro-toolchain-dev/cbuild/trunk/view/head:/lib/skiabench.mk
hi Michael, Great to see more benchmark items. > with interations so that each sub benchmark runs for approximately > five seconds. This reduces the noise in the results, although I > haven't checked to see if some of the very fast ones like fps_fill are > dominated by the test harness overhead. > > For example, running: > bench -rotate -scale -clip -config 8888 -repeat 600 -match fps_blend > > will take around 5 s to complete on a 1 GHz Cortex-A9. I just updated wiki page about Google's compiler benchmark suite: https://wiki.linaro.org/Platform/Android/UpstreamToolchain Please check the section, "Evaluate Benchmark suite". Through adb[1], it is highly convenient to bench generated binary files on Android device: $ ../scripts/run_on_android.py ../scripts/bench.py --action=runcmd echo Android_TIME_STAMP_$(timestamp); /data/local/perflab/skia_bench -repeat 15; echo Android_TIME_STAMP_$(timestamp) ../scripts/bench.py --action=export ./out/skia_bench adb shell mkdir /data/local/perflab ['./out/skia_bench'] adb push ./out/skia_bench /data/local/perflab 823 KB/s (802944 bytes in 0.951s) time adb shell 'cd /data/local/perflab; echo Android_TIME_STAMP_$(timestamp); /data/local/perflab/skia_bench -repeat 15; echo Android_TIME_STAMP_$(timestamp)' 0.00user 0.00system 4:33.25elapsed 0%CPU (0avgtext+0avgdata 4208maxresident)k 0inputs+0outputs (0major+325minor)pagefaults 0swaps timestamp: not found Android_TIME_STAMP_ running bench decode_4444_(null) 8888: 0.07 565: 0.00 4444: 0.00 A8: 0.07 running bench decode_565_(null) 8888: 0.00 565: 0.00 4444: 0.00 A8: 0.07 ... >From the above messages, Google introduced the automated approach to deploy benchmark suite and evaluate it on the fly. The function "timestamp" is broken at the moment, and I am still looking for the details. Regards, -jserv _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev