summaryrefslogtreecommitdiff
path: root/base64/Makefile
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2019-03-09 18:12:22 +0100
committerMiguel <m.i@gmx.at>2019-03-09 18:12:22 +0100
commit116a5a97f600df811f0f14dd2134a72aece88fbf (patch)
treec9409213d3a49891470994d24f96066ef12cfd05 /base64/Makefile
parent7bdaddbb527f6a0e8c8566a98ce04b1114a85db3 (diff)
optimized base64.hs quite a lot
Diffstat (limited to 'base64/Makefile')
-rw-r--r--base64/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/base64/Makefile b/base64/Makefile
index 629c734..0192413 100644
--- a/base64/Makefile
+++ b/base64/Makefile
@@ -1,10 +1,12 @@
+base64: base64.hs
+ #stack ghc -- -O2 base64.hs -rtsopts -prof -fprof-cafs -fprof-auto
+ stack ghc -- -O2 base64.hs
+
run: base64
./base64 10 100 +RTS -N2
#cat /tmp/random.bin | ./base64 +RTS -N6 > /dev/null
run-prof: base64prof
cat /tmp/random.bin | ./base64prof +RTS -N6 -p -s > /dev/null
-base64: base64.hs
- stack ghc -- -O2 base64.hs -threaded -o base64
base64prof: base64.hs
stack ghc -- -threaded -rtsopts -prof -fprof-auto -fprof-cafs -O2 base64.hs -o base64prof
genrandom: