From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.help
Subject: Re: Why is Elisp slow?
Date: Sat, 04 May 2019 09:19:38 +0300
Message-ID: <83bm0in3lx.fsf@gnu.org>
References: <86d0slrb4h.fsf@zoho.com>
	<mailman.1806.1538930105.1284.help-gnu-emacs@gnu.org>
	<86pnwkpltx.fsf@zoho.com>
	<mailman.1860.1539013068.1284.help-gnu-emacs@gnu.org>
	<8636tgphps.fsf@zoho.com>
	<mailman.1874.1539029031.1284.help-gnu-emacs@gnu.org>
	<86o9c4np6q.fsf_-_@zoho.com>
	<mailman.1893.1539042845.1284.help-gnu-emacs@gnu.org>
	<8636tfocyl.fsf@zoho.com> <m24l6da2b1.fsf@scratch.space>
	<20190502075617.GA18331@tuxteam.de> <874l6d3ylg.fsf@mbork.pl>
	<CAJcAo8vn8RsrSstwti5T8feWB4q01kN-KPX55zSqCZubUyMBdQ@mail.gmail.com>
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="186718"; mail-complaints-to="usenet@blaine.gmane.org"
To: help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 04 08:28:53 2019
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.89)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1hMoAF-000mCb-4i
	for geh-help-gnu-emacs@m.gmane.org; Sat, 04 May 2019 08:28:51 +0200
Original-Received: from localhost ([127.0.0.1]:51973 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1hMo1z-0005Oq-OA
	for geh-help-gnu-emacs@m.gmane.org; Sat, 04 May 2019 02:20:19 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:48052)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1hMo1h-0005NO-8M
	for help-gnu-emacs@gnu.org; Sat, 04 May 2019 02:20:02 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44924)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1hMo1c-0003wU-C5
	for help-gnu-emacs@gnu.org; Sat, 04 May 2019 02:19:58 -0400
Original-Received: from [176.228.60.248] (port=2794 helo=home-c4e4a596f7)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <eliz@gnu.org>) id 1hMo1a-0006tu-Di
	for help-gnu-emacs@gnu.org; Sat, 04 May 2019 02:19:55 -0400
In-reply-to: <CAJcAo8vn8RsrSstwti5T8feWB4q01kN-KPX55zSqCZubUyMBdQ@mail.gmail.com>
	(message from Samuel Wales on Fri, 3 May 2019 16:34:21 -0700)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs/>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "help-gnu-emacs"
	<help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.help:120182
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/120182>

> From: Samuel Wales <samologist@gmail.com>
> Date: Fri, 3 May 2019 16:34:21 -0700
> Cc: help-gnu-emacs@gnu.org
> 
> org agenda is the slowest part of emacs for me.
> 
> it would be *great* if devs could speed it up with c.  i am curious
> what would they do?  take a look at the profiles.  maybe speed up
> regexps?

A profile of a long run with all its tree branches expanded would be
nice, preferably with the relevant Org Lisp files loaded as *.el, to
increase the accuracy of the profile.  Bonus points for providing Org
file(s) needed to reproduce such a long run, which could serve as
basis for trying various speed-up approaches.

If someone wants to do that, please use the bug-reporting features in
Emacs (so that the relevant system configuration aspects are captured,
and the data is recorded by the issue tracker), and please CC the
relevant Org addresses (mailing list, issue tracker, etc.).