From cb6f2186742c75b62b45ef477048c6a74f2d6828 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 11 Jan 2009 22:33:37 +0000 Subject: Initial import git-svn-id: svn://mattst88.com/svn/cpml-benchmarks@1 dfcbb71e-afff-4d4a-b3c7-756acd92cddf --- test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 test.sh (limited to 'test.sh') diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..78dbf4c --- /dev/null +++ b/test.sh @@ -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 -- cgit v1.2.3