From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Type declarations in Elisp Date: Tue, 22 Aug 2023 14:14:25 +0300 Message-ID: <83lee3tjla.fsf@gnu.org> References: <87il984vxv.fsf@localhost> <03fc79f4-a532-71b1-0de9-8e52bdf3f138@gmail.com> <87msykfwym.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21359"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 22 13:15:07 2023 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 1qYPLm-0005Hk-FD for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Aug 2023 13:15:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYPKv-0004YO-Ey; Tue, 22 Aug 2023 07:14:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYPKr-0004YB-7k for emacs-devel@gnu.org; Tue, 22 Aug 2023 07:14:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYPKo-0006iE-Bb; Tue, 22 Aug 2023 07:14:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1qIoCDsBcUt0CBbC/V9I7tgUq0T4Xghp/6ujHRAkLjc=; b=Ts7HkXP2gbczk8ZVNe7Q VS+DuL2a6Tfydff7oxToNh/BHBXGPgCJd3vLRd8MBrmzfWOYAVcRxW58cLo/uN+EbN++VMT8NEpUa zI9Mw4c0N7V7Nbeq1cr+JdbjPdQc7QVXoIlc2IDWrlVstz49YADAFcU3LUIjsCFjHGvuokR/zfEyb k0XkNZFldZER8Ultw/VcpPQL5nnNmdcHDHJooHZvldFBULrPKvoEikTcT4C1Ez4IpUmzVeQgaT/YP OsID0M+cscW/uywMpd4RvTFSLLuXhcdtGh0XBMDkVjgATAOd8Q4vZdqWSmGKXp3KtbawM7cHZymMp xaJ4ZjpIMIIu7w==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Tue, 22 Aug 2023 07:34:41 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309105 Archived-At: > From: Gerd Möllmann > Cc: drew.adams@oracle.com, emacs-devel@gnu.org, incal@dataswamp.org > Date: Tue, 22 Aug 2023 07:34:41 +0200 > > Ihor Radchenko writes: > > > Gerd Möllmann writes: > >> I'd rather see some profile runs first that show where in some typical > >> (tm) native-compiled ELisp program how much time is spent. > > > > Let me try. > > I did > > > > $ perf record make test > > $ perf report > > Thanks. > > I'm afraid I don't see much worth expanding on in the report. And the > question is, of course, how typical (tm) a result from make check is. Yes. Moreover, the profile indicates that the only somewhat significant consumer of CPU time was process_mark_stack, which is a function called by GC. So this is completely uninteresting in the context of looking at hot spots in Lisp code and Lisp interpreter.