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 14:15:19 -0700 Organization: UCLA Computer Science Department Message-ID: <55B94267.5050208@cs.ucla.edu> References: <55B7796B.3070005@gmx.at> <55B87E3F.80708@gmx.at> <55B8E367.9020201@cs.ucla.edu> <55B8F3E9.5000707@gmx.at> <833806yld0.fsf@gnu.org> <55B915CE.7070803@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 1438204547 20539 80.91.229.3 (29 Jul 2015 21:15:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2015 21:15:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 29 23:15:38 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 1ZKYhO-00062R-5x for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2015 23:15:38 +0200 Original-Received: from localhost ([::1]:37104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKYhN-0006Hk-8E for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2015 17:15:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKYhA-0006HZ-Sr for emacs-devel@gnu.org; Wed, 29 Jul 2015 17:15:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKYh8-00031y-5z for emacs-devel@gnu.org; Wed, 29 Jul 2015 17:15:24 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKYh7-00031r-UH for emacs-devel@gnu.org; Wed, 29 Jul 2015 17:15:22 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 812F4160CC0; Wed, 29 Jul 2015 14:15:20 -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 QbezFE2F09Hl; Wed, 29 Jul 2015 14:15:19 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AD17A160CBB; Wed, 29 Jul 2015 14:15:19 -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 IhjFyewJ9Wmy; Wed, 29 Jul 2015 14:15:19 -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 8DA0A1601EB; Wed, 29 Jul 2015 14:15:19 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 In-Reply-To: <55B915CE.7070803@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:188175 Archived-At: martin rudalics wrote: > But this was --with-wide-int. Weird. Perhaps my guess about your problem was wrong, though there is clearly a bug there in computing percentages, which I'll see if I can fix. I can't reproduce your problem on Fedora 21, configured with gcc 5.1.0 -m32 and --without-imagemagick (ImageMagick breaks the build on my native x86-64 platform due to library incompatibilities) and running emacs -Q. When I tried profiler-start with mem, then letting tooltips show over the modeline, then running profiler-report, I got the following, which seems benign. - command-execute 985,993 99% - call-interactively 985,993 99% - funcall-interactively 984,565 99% - execute-extended-command 984,565 99% - command-execute 949,171 96% - call-interactively 949,171 96% - funcall-interactively 949,163 96% - profiler-report 943,516 95% - profiler-report-memory 943,516 95% profiler-memory-profile 943,516 95% - profiler-start 5,647 0% message 1,535 0% - sit-for 5,662 0% - redisplay 2,532 0% - redisplay_internal (C function) 1,874 0% - tool-bar-make-keymap 1,350 0% - tool-bar-make-keymap-1 1,350 0% - mapcar 1,350 0% - # 1,350 0% - eval 1,350 0% - find-image 1,350 0% image-search-load-path 1,350 0% kill-this-buffer-enabled-p 524 0% - read-event 534 0% mouse-fixup-help-message 534 0% - byte-code 1,428 0% - read-extended-command 1,428 0% - completing-read 1,428 0% - completing-read-default 1,428 0% - read-from-minibuffer 786 0% - command-execute 128 0% call-interactively 128 0% - timer-event-handler 1,252 0% - apply 1,252 0% - tooltip-timeout 1,252 0% - run-hook-with-args-until-success 1,252 0% - tooltip-help-tips 1,252 0% tooltip-show 1,252 0% ... 0 0%