mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-22 12:59:26 +03:00
Add genBench.sh
This commit is contained in:
parent
a3faef560d
commit
f32126d4f7
22
genBench.sh
Executable file
22
genBench.sh
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
cabal run bench -- --pattern '$2 == "countdown" && $3 == "1000"' --svg bench_countdown_1000.svg
|
||||
cabal run bench -- --pattern '$2 == "countdown" && $3 == "2000"' --svg bench_countdown_2000.svg
|
||||
cabal run bench -- --pattern '$2 == "countdown" && $3 == "3000"' --svg bench_countdown_3000.svg
|
||||
cabal run bench -- --pattern '$2 == "filesize" && $3 == "1000"' --svg bench_filesize_1000.svg
|
||||
cabal run bench -- --pattern '$2 == "filesize" && $3 == "2000"' --svg bench_filesize_2000.svg
|
||||
cabal run bench -- --pattern '$2 == "filesize" && $3 == "3000"' --svg bench_filesize_3000.svg
|
||||
|
||||
convert bench_countdown_1000.svg bench_countdown_1000.png
|
||||
convert bench_countdown_2000.svg bench_countdown_2000.png
|
||||
convert bench_countdown_3000.svg bench_countdown_3000.png
|
||||
convert bench_filesize_1000.svg bench_filesize_1000.png
|
||||
convert bench_filesize_2000.svg bench_filesize_2000.png
|
||||
convert bench_filesize_3000.svg bench_filesize_3000.png
|
||||
|
||||
rm bench_countdown_1000.svg
|
||||
rm bench_countdown_2000.svg
|
||||
rm bench_countdown_3000.svg
|
||||
rm bench_filesize_1000.svg
|
||||
rm bench_filesize_2000.svg
|
||||
rm bench_filesize_3000.svg
|
Loading…
Reference in New Issue
Block a user