From 69bfb753bed5e106af08434ab619a8f810b4904d Mon Sep 17 00:00:00 2001 From: Ahmad Draidi Date: Mon, 10 Jul 2023 22:09:59 +0400 Subject: gnu: Add emacs-gc-stats. * gnu/packages/emacs-xyz.scm (emacs-gc-stats): New variable. Signed-off-by: Liliana Marie Prikler --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 61f42f3baa..1c8ecdebe2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3729,6 +3729,30 @@ always indented. It reindents after every change, making it more reliable than @code{electric-indent-mode}.") (license license:gpl2+))) +(define-public emacs-gc-stats + (package + (name "emacs-gc-stats") + (version "1.4") + (source (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/" + "emacs-gc-stats-" version ".tar")) + (sha256 + (base32 + "19195s2nw87nmdz861j6shw5m2lv0spbcb1wff0y338fgx9sicgz")))) + (build-system emacs-build-system) + (home-page "https://git.sr.ht/~yantar92/emacs-gc-stats") + (synopsis "Collect Emacs GC statistics") + (description + "This package collects Emacs @dfn{garbage collection} (GC) statistics over +time and saves it in the format that can be shared with Emacs maintainers. + +This package does not upload anything automatically. You will need to upload +the data manually, by sending email attachment. If necessary, you can review +@code{emacs-gc-stats-file} (defaults to @code{~/.emacs.d/emacs-gc-stats.eld}) +before uploading-it is just a text file.") + (license license:gpl3+))) + (define-public emacs-gcmh ;; No tagged release upstream, but the commit below correspond to the 0.2.1 ;; release. -- cgit 1.4.1