From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Emanuel Berg via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: interactive feel of Emacs: the need for speed, and -Q [measure.el] Date: Sun, 12 Apr 2020 03:16:51 +0200 Message-ID: <87h7xph5a4.fsf@ebih.ebihd> References: <87tv26qvwh.fsf@ebih.ebihd> <87mu7njm9h.fsf@ebih.ebihd> <87h7xv44xr.fsf@md5i.com> <875zeasexm.fsf@ebih.ebihd> <87d08i3vvk.fsf@md5i.com> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="18057"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:5u4RGj629Wf/o4t/lXtn32WBx0c= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 12 03:17:33 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNRFd-0004Za-9i for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Apr 2020 03:17:33 +0200 Original-Received: from localhost ([::1]:57844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNRFc-0000sc-Bk for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Apr 2020 21:17:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43666) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNRF8-0000Hy-2e for emacs-devel@gnu.org; Sat, 11 Apr 2020 21:17:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNRF6-0007eR-RB for emacs-devel@gnu.org; Sat, 11 Apr 2020 21:17:02 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:46382) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNRF6-0007dF-LZ for emacs-devel@gnu.org; Sat, 11 Apr 2020 21:17:00 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jNRF2-0003zh-Vm for emacs-devel@gnu.org; Sun, 12 Apr 2020 03:16:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246847 Archived-At: Michael Welsh Duggan wrote: > Once again, I couldn't say. Although the code quality > of the elisp distributed with Emacs is fairly high, it > is a large community project, and not everything is > tested equally. Some packages are used by only a small > number of people, while others are used by just about > everybody. And different people have differing > expectations when it comes to interactivity (and > different computers which may be slower/faster). > One thing I can say for certain is that the current > set of active maintainers has done a very good job of > tracking the bug reporting list and working hard at > alleviating defects, once they are reported. OK, thank, are there any general rules that makes sense? - defuns that are loaded but not invoked do not slow Emacs down, as before and after execution, they are just a bunch of text - hooks, advice, and scheduled stuff (with the idle timer) might slow things down, but shouldn't unless the stuff one puts there is expensive - huge software systems that runs all the time and/or spawns their own processes (e.g., Gnus, ERC) could slow things down, but again, why would that be a problem unless the payload in particular is very expensive somewhere? - it is likely that what slows down Emacs in general is ... ? Re: binary search of the init file, this implies that there is some specific one or two problem areas or "villains", but I'm not sure there is. The reason I think so is that -Q Emacs is, and has always been, much faster _in general_, not in a specific situation. Here are my requires: (require 'ada-mode) (require 'apropos) (require 'bibtex) (require 'cc-mode) (require 'checkdoc) (require 'cl-lib) (require 'comint) (require 'compile) (require 'css-mode) (require 'debug) (require 'dired) (require 'dired-x) (require 'erc) (require 'erc-button) (require 'erc-fill) (require 'erc-match) (require 'erc-ring) (require 'erc-stamp) (require 'gnus) (require 'gnus-art) (require 'gnus-cite) (require 'gnus-group) (require 'gnus-msg) (require 'gnus-score) (require 'gnus-srvr) (require 'gnus-start) (require 'gnus-sum) (require 'google-translate-core-ui) (require 'help-mode) (require 'ielm) (require 'info) (require 'ispell) (require 'lpr) (require 'man) (require 'map) (require 'message) (require 'netrc) (require 'nnmail) (require 'nroff-mode) (require 'package) (require 'parse-time) (require 'search-regexp-in-files) (require 'seq) (require 'sgml-mode) (require 'shell) (require 'slime) (require 'slime-autoloads) (require 'slime-presentations) (require 'slime-repl) (require 'smtpmail) (require 'sort) (require 'subr-x) (require 'tex-mode) (require 'thingatpt) (require 'tls) (require 'tramp) (require 'w3m) (require 'w3m-bookmark) (require 'w3m-form) (require 'w3m-search) (require 'w3m-session) -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal