From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Reworking loaddefs.el generation Date: Wed, 01 Jun 2022 07:13:37 +0200 Message-ID: <87ee092cfy.fsf@gnus.org> References: <87ee0f8cvx.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20047"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 01 07:14:33 2022 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 1nwGgi-00052X-Mk for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 07:14:32 +0200 Original-Received: from localhost ([::1]:52460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwGgh-00052v-1B for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 01:14:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwGg1-0004OJ-3E for emacs-devel@gnu.org; Wed, 01 Jun 2022 01:13:49 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:53010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwGfz-0003cG-Ex for emacs-devel@gnu.org; Wed, 01 Jun 2022 01:13:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=h2DyIWub3XLRA5m6Wnyt5SXBPpFaaeFIdTqJEz/6iAc=; b=lyhb9BXENsPq5Rljqj38vRNNfc GQelUv6bDrt8A5rlLx39Oup1UfwrpZrhGd6zSKp9sO1pHI14c+uoTgbJ7NKYn7v1Hh6nKrzMT5IVC uaOwN9xBRq86/52IFrgD1r9QCa2NkmJb9TCEcFiGlwTXH3VUM8xk0ZLh8FflMAsq3EiQ=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwGfr-0008TM-K9; Wed, 01 Jun 2022 07:13:43 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEX+/v6amZnAv7/R 0dBtbWxOTUxBPz4uLSsiIB4gHRuAgH8XFhT///9Gfwd4AAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YG AQUKIPx/ylMAAAGMSURBVDjL7ZBBiuMwEEU1zAnUuPfp9AXS7RMYJGYdkKKh9yEnUEo5gcpk3cRC B5kYXa6/5EAWWTbMbOYbbLmequpXCfFf39GPl6e3zUO03/Tvfd8/xDc//7XfvyaM36+h9/pardev dSF1Jy9SKrvzzjsK0RyPJnAViU5bo5RVtrPPRNvn0yUswBH5hqz50F6fODYQxRRiJKL93poBWB9o kaDInCdkWWXUIDtr3Q0EXq4crQPpjNKewETiCmLAa9DWykHpmuPEyHyeiCZGtT0cOL8UE3Ec2/Xj wcO4lmjTKWSJkNOUU5ooEPrLoVNSdqAiz6lpgvcdyikAuerfREZ3HlPixBHxrVRb2ZnhSRTcRSGq U1oHGNpRA1z2O+ykPuoX8zKVcRWg8IAFeqXD0g2ERYGqdR4vdFp85DxHX0Gitp5zaQbLHMlZqmCG 1bFcqYWv5DydShG/S5nGXAvOIZeZXDjXnyI+XfuWGVGO1i1hgPKHbucL3cMVIP0QMKI/hHLX3Oxe q6nWp+RbPH4BedMOwchHy3YAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMDFUMDU6MTA6MzIr MDA6MDDUyU/pAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTAxVDA1OjEwOjMyKzAwOjAwpZT3 VQAAAABJRU5ErkJggg== X-Now-Playing: Section 25's _Deus Ex Machina_: "Beneath The Blade" In-Reply-To: (Stefan Monnier's message of "Tue, 31 May 2022 15:04:58 -0400") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:290466 Archived-At: Stefan Monnier writes: > The generation of `org.texi` from `org.org` is excruciatingly > slow, indeed. Maybe we can better hide that latency with a more careful > scheduling, but maybe we could also try to speed it up: I mean if you > compare it to the time it takes for texi2pdf to process the result it's > rather shameful (after all, the generation of the `org.texi` seems > algorithmically a lot simpler). If somebody want to poke at this, then perhaps this is a good starting point: (progn (require 'ox-texinfo) (with-temp-buffer (insert-file-contents "~/src/emacs/trunk/doc/misc/org.org") (setq default-directory (expand-file-name "~/src/emacs/trunk/doc/misc/")) (profiler-start 'cpu) (org-export-to-file 'texinfo "/tmp/org.texi")) (profiler-stop) (profiler-report)) 1564 19% - org-export-resolve-fuzzy-link looks pretty suspicious, for instance. (And that thing should have an easier calling convention...) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no