From: Ihor Radchenko <yantar92@posteo.net>
To: emacs-devel@gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: [ELPA] New package: emacs-gc-stats
Date: Fri, 14 Apr 2023 17:03:56 +0000 [thread overview]
Message-ID: <87ttxil7k3.fsf@localhost> (raw)
Hi,
I'd like to submit a helper package to collect GC statistics during
Emacs session. See the discussion in
https://yhetil.org/emacs-devel/831qluuj7e.fsf@gnu.org/
-----
This package collects Emacs garbage collection statistics over time and
saves it in the format that can be shared with Emacs maintainers.
*Usage:*
Add
#+begin_src emacs-lisp
(require 'emacs-gc-stats)
;; optional
(setq gc-cons-threshold
(* 800000 (seq-random-elt '(1 2 4 8 16 32 64 128))))
(emacs-gc-stats-mode +1)
#+end_src
to your init file to enable the statistics acquiring.
When you are ready to share the results, run =M-x emacs-gc-stats-save-session=
and then share the saved ~emacs-gc-stats-file~ (defaults to
=~/.emacs.d/emacs-gc-stats.eld=).
You can use =M-x emacs-gc-stats-clear= to clear the currently collected
session data.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next reply other threads:[~2023-04-14 17:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 17:03 Ihor Radchenko [this message]
2023-06-09 9:14 ` [ELPA] New package: emacs-gc-stats Ihor Radchenko
2023-06-09 10:17 ` Eli Zaretskii
2023-06-09 16:19 ` Stefan Monnier
2023-06-10 10:13 ` Ihor Radchenko
2023-06-10 16:33 ` Stefan Monnier
2023-06-11 9:15 ` Ihor Radchenko
2023-06-11 9:12 ` Philip Kaludercic
2023-06-11 9:37 ` Ihor Radchenko
2023-06-11 15:51 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttxil7k3.fsf@localhost \
--to=yantar92@posteo.net \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.