From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Split `simple.el'? Date: Wed, 4 Apr 2018 12:29:48 -0700 Organization: UCLA Computer Science Department Message-ID: References: <5f1e960c-483f-4902-b4c2-b7a4ca3b04f4@default> <10c96362-297f-db97-d4a9-da3d66d4dd34@cs.ucla.edu> <83d0zf4g8d.fsf@gnu.org> <83vad63i2w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1522870082 10029 195.159.176.226 (4 Apr 2018 19:28:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2018 19:28:02 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 21:27:58 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3o4b-0002Qh-Mc for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 21:27:57 +0200 Original-Received: from localhost ([::1]:52935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3o6f-0000Zm-Bk for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 15:30:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3o6X-0000ZG-D6 for emacs-devel@gnu.org; Wed, 04 Apr 2018 15:29:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3o6W-0000Yp-F9 for emacs-devel@gnu.org; Wed, 04 Apr 2018 15:29:57 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56050) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f3o6R-0000Ul-PR; Wed, 04 Apr 2018 15:29:51 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0D00A161625; Wed, 4 Apr 2018 12:29:50 -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 9P9c05eW1_BN; Wed, 4 Apr 2018 12:29:49 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4071E16162D; Wed, 4 Apr 2018 12:29:49 -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 0oGv61EO5JaA; Wed, 4 Apr 2018 12:29:49 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 243C6161625; Wed, 4 Apr 2018 12:29:49 -0700 (PDT) In-Reply-To: <83vad63i2w.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224325 Archived-At: On 04/04/2018 12:08 PM, Eli Zaretskii wrote: > Does setting inhibit-compacting-font-caches non-nil changes anything > in this regard? Unfortunately, I can no longer run the same test, as this morning I=20 changed my desktop configuration drastically (to fix a graphics driver=20 freeze -- not an Emacs bug) and I now get quite-different performance=20 results. It's a real hassle to change the configuration (it's easy to=20 mess up and be left with a complete reinstall as the only real=20 alternative) and I'd rather not go back, sorry. In my new configuration I get different results. If I run: emacs -Q -eval "(describe-variable 'password-word-equivalents)" and immediately type C-x C-c to exit, gprof reports the following hot=20 spots. Although it is a bit discouraging that so much garbage collection=20 is occurring in such a simple use of Emacs, I suspect this is not Drew's=20 problem. Each sample counts as 0.01 seconds. =C2=A0 %=C2=A0=C2=A0 cumulative=C2=A0=C2=A0 self=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self total =C2=A0time=C2=A0=C2=A0 seconds=C2=A0=C2=A0 seconds=C2=A0=C2=A0=C2=A0 cal= ls=C2=A0 ms/call=C2=A0 ms/call name =C2=A040.00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.06=C2=A0=C2=A0=C2=A0=C2=A0 0= .06=C2=A0 1424609=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0=C2=A0 0.= 00 mark_object =C2=A013.33=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.08=C2=A0=C2=A0=C2=A0=C2=A0 0= .02=C2=A0=C2=A0=C2=A0 49803=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0= =C2=A0 0.00 re_search_2 =C2=A013.33=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.10=C2=A0=C2=A0=C2=A0=C2=A0 0= .02=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 6=C2=A0=C2=A0=C2=A0=C2=A0 3= .33=C2=A0=C2=A0=C2=A0=C2=A0 3.33 sweep_conses =C2=A0 6.67=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.11=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0 12632=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0= =C2=A0 0.00 Fmake_string =C2=A0 6.67=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.12=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0 11471=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0= =C2=A0 0.00 allocate_vector =C2=A0 6.67=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.13=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0=C2=A0 5821=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0= =C2=A0=C2=A0 0.00 bidi_resolve_explicit =C2=A0 6.67=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.14=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0=C2=A0 1074=C2=A0=C2=A0=C2=A0=C2=A0 0.01=C2=A0=C2=A0= =C2=A0=C2=A0 0.01 font_unparse_xlfd =C2=A0 6.67=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.15=C2=A0=C2=A0=C2=A0=C2=A0 0= .01 deliver_user_signal > If some of the characters there end up being displayed as squares with > hex codepoints, i.e. you have no fonts capable of displaying them, > then this is expected. The characters are all displayable. I see no squares. >> We should move password-word-equivalents to an i18n-related file anywa= y >> (that is, regardless of Drew's problem), as password-word-equivalents >> doesn't belong in simple.el. > That's a separate issue, and will just move the problem from one file > to another. Yes, of course.