all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ELPA] New package: emacs-gc-stats
@ 2023-04-14 17:03 Ihor Radchenko
  2023-06-09  9:14 ` Ihor Radchenko
  0 siblings, 1 reply; 10+ messages in thread
From: Ihor Radchenko @ 2023-04-14 17:03 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eli Zaretskii

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>



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-11 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-14 17:03 [ELPA] New package: emacs-gc-stats Ihor Radchenko
2023-06-09  9:14 ` 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

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.