all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to debug memory leaks
Date: Sat, 27 Mar 2021 16:30:33 +0100	[thread overview]
Message-ID: <87k0ps4ns6.fsf@zoho.eu> (raw)
In-Reply-To: jwvk0psy79s.fsf-monnier+emacs@gnu.org

Stefan Monnier wrote:

> What we have instead is `M-x profiler-start/report` which
> should(?) let you find out what is the source of the
> sluggishness. Similarly we have a `M-x memory-report` for
> excessive memory use.

OT (?): remember playing games? You never had the required
computer RAM and stuff but that was solved by downgrading the
graphics in particular, reducing the amount of details etc, and
suddenly it went really fast! And then even the guys that had
really strong computers got envious because even if it worked
great for them it still didn't have that "snap" which you had
achieved by all the methods applied at once (or
simultaneously).

So is there a way to downgrade Emacs in much the same way?

What happens with -Q?

Can't we have:

$ emacs                                    \
    --not-module "uwe-brauer-mac-os-hacks" \
    --not-module "jeans-super-key"         \
    etc etc 

and then you could experiment what was needed and not for you?

Downsides to that are easy to see but would that increase the
speed, i.e. the interactive feel?

What is it that -Q removes? but it is too much

$ emacs -Qp 0.5 # Q percent, only remove 50% of what -Q does?

A file of Elisp that is not used, why should that slow
down anything? It really does? If so, why?

E.g., I don't move around in my apartment slower for every
book I put in my bookshelf...

-- 
underground experts united
https://dataswamp.org/~incal




  parent reply	other threads:[~2021-03-27 15:30 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-25  5:29 How to debug memory leaks edgar
2021-03-25 14:23 ` Stefan Monnier
2021-03-25 15:01   ` Jean Louis
2021-03-25 15:18     ` Stefan Monnier
2021-03-25 20:15       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-25 17:54 ` edgar
2021-03-25 18:26   ` Stefan Monnier
2021-03-25 19:38   ` Jean Louis
2021-03-25 22:24     ` edgar
2021-03-26  5:48       ` Robert Thorpe
2021-03-26  5:58         ` edgar
2021-03-26 14:11         ` Stefan Monnier
2021-03-26 14:17           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 14:23             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 14:57           ` Arthur Miller
2021-03-26 15:02             ` Eli Zaretskii
2021-03-26 15:09               ` Arthur Miller
2021-03-26 15:33                 ` Eli Zaretskii
2021-03-26 15:53                   ` Arthur Miller
2021-03-26 16:03                     ` Eli Zaretskii
2021-03-26 16:11                       ` Arthur Miller
2021-03-26 16:25                         ` Stefan Monnier
2021-03-26 16:32                           ` Arthur Miller
2021-03-26 16:44                             ` Stefan Monnier
2021-03-26 18:02                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 18:31                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27  8:20                               ` Arthur Miller
2021-03-27 15:03                                 ` Stefan Monnier
2021-03-27 15:13                                   ` Arthur Miller
2021-03-27 15:30                                   ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-03-26 15:10             ` boost interactive feel speed (was: Re: How to debug memory leaks) Emanuel Berg via Users list for the GNU Emacs text editor
  -- strict thread matches above, loose matches on Subject: below --
2021-03-25 22:21 How to debug memory leaks edgar
2021-03-21 18:17 edgar
2021-03-21 18:25 ` Eli Zaretskii

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=87k0ps4ns6.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.