summaryrefslogblamecommitdiffstats
path: root/2023/talks/gc.md
blob: b0c54532295f29eae887bfd05895ee03ac87061a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                    

                                                                                                         








                                                                         







                                                                        






                                                          
[[!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"]]

Talk sources, PDF, raw data, and analysis are published at <https://dx.doi.org/10.5281/zenodo.10213384> .

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"]]