all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via "Emacs development discussions." <emacs-devel@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: interactive feel of Emacs: the need for speed, and -Q [measure.el]
Date: Tue, 07 Apr 2020 18:25:46 +0200	[thread overview]
Message-ID: <87mu7njm9h.fsf@ebih.ebihd> (raw)
In-Reply-To: f9537096-58ad-4110-b8a6-cd74965d1744@default

Drew Adams wrote:

> Not sure what you're asking.  But if you're asking
> which parts of your non -Q setup could be causing
> a slowdown then the answer is typically to bisect
> your init file, to narrow the search.

Why would a bunch of defuns that are not called slow
down the interactive feel w/o even being invoked?

Like I said, I think I have as much zsh [1] that I have
Elisp [2] but it sure doesn't slow down zsh in general.
It is mostly the same stuff, just functions that do
stuff. They aren't invoked unless they user says so.
But I don't have to do _anything_ to instantly feel that
-Q is much, much faster. Just typing and doing M-x!

What in general slows it down? Or does a defun, that
isn't called, slow it down by just being there, in
Emacs? If so, why?

If it doesn't, what stuff should you look out for?

Hooks I accept slow things down, if they are called all
the time and you put elaborate things in them, but
I don't think they are and I don't. advice I used
literally once in 100+ files.

What else is slowing things down in general
I don't know.

So "non -Q" only does that and only that, brings in the
user's init stuff? Nothing else that the user is unaware
of and do not control with/from his/her init file(s)?


[1] https://dataswamp.org/~incal/conf/.zsh/

[2] https://dataswamp.org/~incal/emacs-init/

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




  reply	other threads:[~2020-04-07 16:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30  5:00 interactive feel of Emacs: the need for speed, and -Q [measure.el] Emanuel Berg via Users list for the GNU Emacs text editor
2020-03-30 15:32 ` Drew Adams
2020-04-07 16:25   ` Emanuel Berg via Emacs development discussions. [this message]
2020-04-07 16:49     ` Michael Welsh Duggan
2020-04-08  5:51       ` Emanuel Berg via Emacs development discussions.
2020-04-08 14:17         ` Michael Welsh Duggan
2020-04-12  1:16           ` Emanuel Berg via Emacs development discussions.
2020-04-12  2:51             ` Michael Welsh Duggan
2020-04-14 23:00               ` Emanuel Berg via Emacs development discussions.
2020-04-15  1:34                 ` T.V Raman
2020-04-15  2:21                   ` Emanuel Berg via Emacs development discussions.
2020-04-15 14:51                     ` T.V Raman
2020-04-15 15:43             ` Basil L. Contovounesios
2020-04-15 16:06               ` Stefan Monnier
2020-04-16 19:14                 ` Stephen Leake
2020-04-16 19:59                   ` Clément Pit-Claudel
2020-04-16 20:14                     ` Stefan Monnier
2020-04-23 20:05                       ` chad
2020-04-23 20:43                         ` Stephen Leake
2020-04-23 20:57                         ` Stefan Monnier
2020-04-23 23:35                           ` chad
2020-04-24  3:28                             ` Stefan Monnier
2020-04-17  8:48                     ` Stephen Leake
2020-04-16 20:04                   ` Stefan Monnier

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=87mu7njm9h.fsf@ebih.ebihd \
    --to=emacs-devel@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.