summaryrefslogtreecommitdiff
path: root/runbenchmarks.sh
blob: 19bcca7f1ce7e05efb420bf6e08ac8c3b4a42f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

xmldocs=`cat xmldata/subset.txt`

for prog in ezxml goencxml mxml pyeletree.py sxmlc yxml; do
	for i in `seq 10`; do
		./measuretime.sh 2>&1 ./$prog $xmldocs > /dev/null | grep real | sed 's/real//g;s/s//g' >> $prog.log
	done

	./converttimes.sh $prog.log
	 R -q -e "x <- read.csv(\"$prog.log.converted\", header = F); summary(x); sd(x[ , 1])" > $prog.statistics

done