info-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New GNU ELPA package: emacs-gc-stats - Collect Emacs GC statistics


From: Sacha Chua
Subject: New GNU ELPA package: emacs-gc-stats - Collect Emacs GC statistics
Date: Mon, 12 Jun 2023 09:43:24 -0400

    Summary: Collect Emacs GC statistics
   Requires: emacs-25.1
    Website: https://git.sr.ht/~yantar92/emacs-gc-stats
 Maintainer: Ihor Radchenko <yantar92@posteo.net>
     Author: Ihor Radchenko <yantar92@posteo.net>

This package collects Emacs garbage collection (GC) statistics over time
and saves it in the format that can be shared with Emacs maintainers.

See the source code for information how to contact the author.

*Usage:*

Add
┌────
│ (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)
└────
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.


---------
You are receiving this message via the info-gnu-emacs@gnu.org mailing list.
List info/preferences: https://lists.gnu.org/mailman/listinfo/info-gnu-emacs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]