mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-22 22:14:21 +03:00
23 lines
1.1 KiB
Bash
23 lines
1.1 KiB
Bash
|
#!/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
|