From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24470 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: why so many kill-all-local-variables Date: 22 Jul 1999 15:32:06 -0700 Organization: U.C.Davis, Information Technology - D.C.A.S. Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162031 8918 80.91.224.250 (21 Oct 2002 01:00:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:00:31 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA25659 for ; Thu, 22 Jul 1999 18:33:14 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB17392; Thu, 22 Jul 1999 17:32:50 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 22 Jul 1999 17:33:25 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA03059 for ; Thu, 22 Jul 1999 17:33:14 -0500 (CDT) Original-Received: from oakdale.ucdavis.edu (oakdale.ucdavis.edu [169.237.210.82]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA25593 for ; Thu, 22 Jul 1999 18:32:09 -0400 (EDT) Original-Received: (from hardaker@localhost) by oakdale.ucdavis.edu (8.9.3/8.9.3) id PAA01105; Thu, 22 Jul 1999 15:32:07 -0700 (PDT) Original-To: ding@gnus.org X-Face: #qW^}a%m*T^{A:Cp}$R\"38+d}41-Z}uU8,r%F#c#s:~Nzp0G9](s?,K49KJ]s"*7gvRgA SrAvQc4@/}L7Qc=w{)]ACO\R{LF@S{pXfojjjGg6c;q6{~C}CxC^^&~(F]`1W)%9j/iS/ IM",B1M.?{w8ckLTYD'`|kTr\i\cgY)P4 X-URL: http://dcas.ucdavis.edu/~hardaker Original-Lines: 34 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/21.2(beta13) (Demeter) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24470 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24470 I have a annoyingly slow machine at work (ok, its not that bad, but its not great). So I decided to see what profiling gave me... Not surprisingly, searching came out high on top (no surprise), but garbage collection and kill-all-local-variables dominated the scene. This made me wonder why killing the local variables was needed so much? I would think that you merely add to them or don't? I'm wondering if this is a major source of the garbage collection that is taking place (doubt it) and if they can be reduced? Function Name Ticks %/Total Call Count ================================================ ===== ======= ========== (in garbage collection) 3412 52.760 kill-all-local-variables 293 4.531 1824 re-search-forward 248 3.835 35824 get-buffer-create 192 2.969 3640 Function Name Ticks %/Total Call Count ================================================ ===== ======= ========== (in garbage collection) 2505 53.434 kill-all-local-variables 222 4.735 1366 re-search-forward 178 3.797 26614 get-buffer-create 140 2.986 2716 Function Name Ticks %/Total Call Count ================================================ ===== ======= ========== (in garbage collection) 3412 53.014 kill-all-local-variables 293 4.553 1824 re-search-forward 248 3.853 35822 get-buffer-create 191 2.968 3629 -- "Ninjas aren't dangerous. They're more afraid of you than you are of them."