summaryrefslogblamecommitdiffstats
path: root/2023/talks/gc.md
blob: 1c9f07e5fe220cb7aba8445442696944d0cd7230 (plain) (tree)





















                                                                                                    







                                                                        






                                                          
[[!meta title="emacs-gc-stats: Does garbage collection actually slow down Emacs?"]]
[[!meta copyright="Copyright © 2023 Ihor Radchenko"]]
[[!inline pages="internal(2023/info/gc-nav)" raw="yes"]]

<!-- Initially generated with emacsconf-publish-talk-page and then left alone for manual editing -->
<!-- You can manually edit this file to update the abstract, add links, etc. --->


# emacs-gc-stats: Does garbage collection actually slow down Emacs?
Ihor Radchenko (he) - Mastodon: <https://emacs.ch/@yantar92>, <mailto:yantar92@posteo.net>

[[!inline pages="internal(2023/info/gc-before)" raw="yes"]]

Is Emacs responsiveness really affected by slow garbage collector?
Should \`gc-cons-threshold' be increased during startup?
Or maybe during the whole Emacs session?

I will try to answer these questions using the real data collected from
Emacs users who installed
<https://elpa.gnu.org/packages/emacs-gc-stats.html> package and submitted
their results to <https://lists.gnu.org/archive/html/emacs-gc-stats/>.

About the speaker:

Materials science researcher, Org mode users since many years ago, Org
mode (unofficial) co-maintainer :)

The talk is an excuse to sum up emacs-gc-stats data for later discussion
of changing Emacs GC defaults:
https://yhetil.org/emacs-devel/87v8j6t3i9.fsf@localhost/


[[!inline pages="internal(2023/info/gc-after)" raw="yes"]]

[[!inline pages="internal(2023/info/gc-nav)" raw="yes"]]