~crc_/retroforth

ref: 2022.1 retroforth/benchmarks/nga-python.sh -rwxr-xr-x 360 bytes
6db8a84e — crc update release notes 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

cd ..
retro tools/amalgamate-python.retro >benchmarks/retro.py
cd benchmarks
cp ../ngaImage .

echo Python3
time python3 retro.py times.retro
time python3 retro.py push-drop.retro
time python3 retro.py choose.retro

echo PyPy
time pypy retro.py times.retro
time pypy retro.py push-drop.retro
time pypy retro.py choose.retro

rm -f retro.py ngaImage