File: jitrun.sh

package info (click to toggle)
myhdl 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,728 kB
  • sloc: python: 25,033; ansic: 2,203; makefile: 243; sh: 206
file content (36 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash

echo > jitstats.dat

tests="
longdiv_9
longdiv_10
longdiv_11
longdiv_12
longdiv_13
longdiv_14
longdiv_15
longdiv_16
longdiv_17
longdiv_18
"

for test in $tests
do
echo Test: $test >> jitstats.dat
echo ===== >> jitstats.dat

echo python >> jitstats.dat
echo ------ >> jitstats.dat
/usr/bin/time -o jitstats.dat -a -p python test_$test.py > ${test}_python.out
echo >> jitstats.dat

echo pypy >> jitstats.dat
echo ---- >> jitstats.dat
/usr/bin/time -o jitstats.dat -a -p pypy test_$test.py > ${test}_pypy.out
echo >> jitstats.dat

done