mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
e61c0364df
FossilOrigin-Name: a0cac831c406f978982a1a9af3eebe038c04be485e1c72ed834f3538b4def8d5
18 lines
360 B
Bash
Executable file
18 lines
360 B
Bash
Executable file
#!/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
|