diff options
author | Matt Turner <mattst88@gmail.com> | 2009-01-11 22:33:37 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2009-01-11 22:33:37 +0000 |
commit | cb6f2186742c75b62b45ef477048c6a74f2d6828 (patch) | |
tree | a92838d0cd8c0965bee6f149a3d5245feab95a2c /test.sh |
Initial import
git-svn-id: svn://mattst88.com/svn/cpml-benchmarks@1 dfcbb71e-afff-4d4a-b3c7-756acd92cddf
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#!/bin/bash + +for x in $@ ; do + echo -en `expr match "$x" '\(.*\)_'`,`expr match "$x" '.*_\(.*\)'`, + + # warm up the cache + for i in 1 2 3 ; do + ./$x &> /dev/null ; + done + + # real benchmarking + for i in `seq 1 10`; do + ./$x ; + done + echo; +done |