From eb046f0c0f47b82b4d04250361aba91ab73cdbc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Kleidukos?= Date: Wed, 27 Nov 2024 23:01:12 +0100 Subject: [PATCH] Add the cabal guide to application profiling --- .../index.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 content/how-to-analyse-haskell-performance/index.md diff --git a/content/how-to-analyse-haskell-performance/index.md b/content/how-to-analyse-haskell-performance/index.md new file mode 100644 index 0000000..e74a3b5 --- /dev/null +++ b/content/how-to-analyse-haskell-performance/index.md @@ -0,0 +1,22 @@ ++++ +title = "A Beginner's Guide To Analysing Haskell Application Performance" +date = 2024-11-27 +[taxonomies] +authors = ["Hécate"] +categories = ["Cabal"] +tags = ["Performance", "Profiling"] ++++ + +The Cabal manual now has a guide on how to analyse the performance of Haskell applications. + + + +This guide was contributed very generously by Malte Neuss. It describes the various options you can set in your `cabal.project` file in order to get a time or space profile of your application. + +As you read through it, you will be pointed to other resources like the [Profiling section of the GHC Users Guide][GHC] and the [Haskell Optimization Handbook][HsOpt]. +It is the recommended entry point for newcomers into the world of Haskell performance analysis. + +Read it at: + +[GHC]: https://downloads.haskell.org/ghc/latest/docs/users_guide/profiling.html +[HsOpt]: https://haskell.foundation/hs-opt-handbook.github.io/