From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Tooltips GC overhead Date: Wed, 29 Jul 2015 09:45:21 -0700 Organization: UCLA Computer Science Department Message-ID: <55B90321.2000501@cs.ucla.edu> References: <55B7796B.3070005@gmx.at> <55B87E3F.80708@gmx.at> <55B8E367.9020201@cs.ucla.edu> <55B8F3E9.5000707@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438188360 11407 80.91.229.3 (29 Jul 2015 16:46:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2015 16:46:00 +0000 (UTC) Cc: emacs-devel To: martin rudalics , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 29 18:45:53 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZKUUK-0002pz-RX for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2015 18:45:52 +0200 Original-Received: from localhost ([::1]:36096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKUUK-0001J6-31 for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2015 12:45:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKUTz-0001Iw-Iv for emacs-devel@gnu.org; Wed, 29 Jul 2015 12:45:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKUTv-0003Mi-IG for emacs-devel@gnu.org; Wed, 29 Jul 2015 12:45:31 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:50729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKUTv-0003Ma-BR for emacs-devel@gnu.org; Wed, 29 Jul 2015 12:45:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DDA0C160CB8; Wed, 29 Jul 2015 09:45:25 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Eo986AYDEhAv; Wed, 29 Jul 2015 09:45:22 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3738C160CBA; Wed, 29 Jul 2015 09:45:22 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AQa71pTvOgQB; Wed, 29 Jul 2015 09:45:22 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 162AF160CB8; Wed, 29 Jul 2015 09:45:22 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 In-Reply-To: <55B8F3E9.5000707@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188170 Archived-At: martin rudalics wrote: > Does that mean I have to recompile all elisp files? No, just the .o files, src/temacs, src/bootstrap-emacs, and src/emacs. > Anyway. If you do `profiler-start', move the mouse over your mode line > for a few seconds so that tooltips show up a couple of times and then do > `profiler-report' and look at the results: Can you tell me from your > report where `tooltip-show' allocates more than half of the bytes it > allocates if _not_ in `x-show-tip'? I presume those bytes are allocated directly by tooltip-show. By "directly" I mean via a function written in C, e.g., "cons".