From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Abbrev suggestions - feedback appreciated Date: Sun, 17 May 2020 18:45:11 +0300 Message-ID: <83mu66bm60.fsf@gnu.org> References: <871smeoalc.fsf@gnu.org> <87fuatmw71.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29267"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 17 17:47:01 2020 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 1jaLVF-0007TZ-Mb for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 17:47:01 +0200 Original-Received: from localhost ([::1]:46998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaLVE-00048F-Li for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 11:47:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaLTe-0003Bx-1F for emacs-devel@gnu.org; Sun, 17 May 2020 11:45:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32850) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaLTd-0004FZ-EM; Sun, 17 May 2020 11:45:21 -0400 Original-Received: from [176.228.60.248] (port=3901 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jaLTb-0003vN-Cf; Sun, 17 May 2020 11:45:20 -0400 In-Reply-To: (message from Mathias Dahl on Sun, 17 May 2020 16:59:11 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:250614 Archived-At: > From: Mathias Dahl > Date: Sun, 17 May 2020 16:59:11 +0200 > Cc: emacs-devel@gnu.org > > I defined 10,000 dummy abbrevs (a1 .. a10000) and used the profiler to compare > memory usage and... I did not get any conclusive results. And between runs I get different > memory values reported. The "memory" profiler doesn't really measure memory consumption, it just uses memory-allocation calls as a poor-man's timer that ticks frequently enough. IOW, don't use the "memory" profiler if you need to profile memory consumption. We don't (yet) have such a beast in Emacs.