Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ stack clean
- # rebuild the project with profining enabled
- stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts"
- # run for time profiling
- stack exec -- debug-main +RTS -p
- # run for memory profiling
- stack exec -- debug-main +RTS -h
Add Comment
Please, Sign In to add comment