From ced1e10f559a69f686a059305c4ae5f63f8e9dfc Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Thu, 28 Nov 2024 14:20:38 -0500 Subject: [PATCH 1/4] Docs: guide on profiling: fix the title --- doc/how-to-analyze-haskell-code-performance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/how-to-analyze-haskell-code-performance.rst b/doc/how-to-analyze-haskell-code-performance.rst index fe117a117bd..93e9b802236 100644 --- a/doc/how-to-analyze-haskell-code-performance.rst +++ b/doc/how-to-analyze-haskell-code-performance.rst @@ -1,4 +1,4 @@ -How to analyze Haskell performance +How to enable profiling ================================== When a Haskell application is slow or uses too much memory, From 793016c8d1cdc01ca7c74a6e5982f5572c0ce4bf Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Thu, 28 Nov 2024 14:47:34 -0500 Subject: [PATCH 2/4] fixup! rename the file too --- ...haskell-code-performance.rst => how-to-enable-profiling.rst} | 0 doc/index.rst | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename doc/{how-to-analyze-haskell-code-performance.rst => how-to-enable-profiling.rst} (100%) diff --git a/doc/how-to-analyze-haskell-code-performance.rst b/doc/how-to-enable-profiling.rst similarity index 100% rename from doc/how-to-analyze-haskell-code-performance.rst rename to doc/how-to-enable-profiling.rst diff --git a/doc/index.rst b/doc/index.rst index c944ed63d09..4bd13c65d7a 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -15,7 +15,7 @@ Welcome to the Cabal User Guide how-to-package-haskell-code how-to-source-packages - how-to-analyze-haskell-code-performance + how-to-enable-profiling how-to-build-like-nix how-to-run-in-windows how-to-use-backpack From 8c9f3984e0e55b6b133878c4fe1e30ad21416333 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 22 Dec 2024 13:15:39 -0500 Subject: [PATCH 3/4] fixup! --- doc/how-to-enable-profiling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/how-to-enable-profiling.rst b/doc/how-to-enable-profiling.rst index 93e9b802236..32d41a4d523 100644 --- a/doc/how-to-enable-profiling.rst +++ b/doc/how-to-enable-profiling.rst @@ -1,4 +1,4 @@ -How to enable profiling +How to enable collection of performance statistics (profiling) ================================== When a Haskell application is slow or uses too much memory, From f4653a79d87bf9f39c8f188b42b266e318d3901c Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 22 Dec 2024 13:26:40 -0500 Subject: [PATCH 4/4] fixup! --- doc/how-to-enable-profiling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/how-to-enable-profiling.rst b/doc/how-to-enable-profiling.rst index 32d41a4d523..16611bfcafe 100644 --- a/doc/how-to-enable-profiling.rst +++ b/doc/how-to-enable-profiling.rst @@ -1,5 +1,5 @@ How to enable collection of performance statistics (profiling) -================================== +============================================================== When a Haskell application is slow or uses too much memory, Cabal and `GHC `__