From e6bc0a0ceb66599693a69d21b85ce95762fa4314 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Tue, 4 Jan 2022 12:26:36 +0000 Subject: [PATCH] Updated readme --- README.html | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.html b/README.html index ddd45d3..64114cd 100644 --- a/README.html +++ b/README.html @@ -115,6 +115,7 @@

or

stack ghci advent01:exe:advent01

if the first form is ambiguous.

+

Profiling

To profile, use

cabal run advent01 --enable-profiling -- +RTS -N -p -s -hT

Or, you can simplify the RTS options by adding them to a new stanza in the cabal file:

@@ -130,7 +131,6 @@
cabal run advent01prof --enable-profiling

Generate the profile graph with

hp2ps -M advent01.hp
-

For Cabal, look at profiling with Cabal sandboxes

Packages

Packages I used a lot: