From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Time to merge scratch/correct-warning-pos into master, perhaps? Date: Mon, 07 Feb 2022 17:36:50 +0000 Message-ID: References: <83leyq3kfk.fsf@gnu.org> <83a6f631k3.fsf@gnu.org> <838ruq2z5t.fsf@gnu.org> <83v8xt20db.fsf@gnu.org> <83ee4gyzrh.fsf@gnu.org> <83tudbyh1y.fsf@gnu.org> <83r18fyg01.fsf@gnu.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="24336"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: mattiase@acm.org, emacs-devel@gnu.org, gregory@heytings.org, monnier@iro.umontreal.ca, acm@muc.de, larsi@gnus.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 07 18:53:23 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 1nH8CY-00066d-Ks for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 18:53:22 +0100 Original-Received: from localhost ([::1]:35618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH8CV-00014c-Iy for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 12:53:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH7wv-0003Pn-UI for emacs-devel@gnu.org; Mon, 07 Feb 2022 12:37:13 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:64528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH7ws-0008FS-As; Mon, 07 Feb 2022 12:37:13 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 217Haoxd016602 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 7 Feb 2022 17:36:51 GMT In-Reply-To: <83r18fyg01.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Feb 2022 21:03:26 +0200") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:286055 Archived-At: Eli Zaretskii writes: >> Date: Sun, 06 Feb 2022 20:40:41 +0200 >> From: Eli Zaretskii >> Cc: larsi@gnus.org, mattiase@acm.org, gregory@heytings.org, >> monnier@iro.umontreal.ca, emacs-devel@gnu.org >> >> Oh, one other thing: the Internet is full with very detailed tutorials >> for how to use perf in different scenarios, so I suggest to look those >> up if the tutorial that comes with the installation is not good >> enough. > > Here's one I found useful at the time: > > http://sandsoftwaresound.net/perf/perf-tutorial-hot-spots/ > > It has a couple of examples that are relevant to what we want to do. Hi all, just to add: Alan if you are going to compare two builds with perf I'd suggest to use two native compiled instances, with that using perf you'll get information also on which specific Lisp function is taking time. I guess it might help the investigation. Otherwise with bytecode for Lisp execution all time for perf is spent in 'exec_byte_code'. Hope it helps. Best Regards Andrea