1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/scripts/benchmark/pypyrun.sh
2015-04-27 16:09:24 -04:00

29 lines
330 B
Bash

#!/bin/bash
echo > pypystats.dat
tests="
timer
lfsr24
randgen
longdiv
findmax
"
for test in $tests
do
echo Test: $test >> pypystats.dat
echo ===== >> pypystats.dat
echo pypy >> pypystats.dat
echo ---- >> pypystats.dat
/usr/bin/time -o pypystats.dat -a -p pypy test_$test.py > ${test}_pypy.out
echo >> pypystats.dat
done