Mercurial > hg > Members > shinya > pyrect
view src/benchgrep.sh @ 15:104ee9208b17
add options -Olevel --time --debug --cc=compiler to jitgrep. add agrep to benchgrep.sh.
author | Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 05 Jul 2010 03:27:38 +0900 |
parents | 41391400fe68 |
children |
line wrap: on
line source
#!/bin/sh egrepout="/tmp/egrep.out" jitgrepout="/tmp/jitgrep.out" agrepout="/tmp/agrep.out" echo "[jitgrep]" time ./jitgrep.py $@ > $jitgrepout echo "\n[agrep]" time agrep $@ > $agrepout echo "\n[egrep]" time egrep $@ > $egrepout echo "\n[diff egrep jitgrep]" diff $egrepout $jitgrepout echo "[diff agrep jitgrep]" diff $agrepout $jitgrepout #rm -f $egrepout $jitgrepout