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:59:16 -0700 Organization: UCLA Computer Science Department Message-ID: <3e32fc9f-fe1d-06c2-c0c5-589410a78b03@cs.ucla.edu> References: <5f1e960c-483f-4902-b4c2-b7a4ca3b04f4@default> <10c96362-297f-db97-d4a9-da3d66d4dd34@cs.ucla.edu> <83d0zf4g8d.fsf@gnu.org> <83vad63i2w.fsf@gnu.org> <83o9iy3gri.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 1522871851 12742 195.159.176.226 (4 Apr 2018 19:57:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2018 19:57:31 +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:57:27 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 1f3oX8-0003D7-Ve for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 21:57:27 +0200 Original-Received: from localhost ([::1]:54562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3oZE-0002Fu-HY for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 15:59:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3oZ2-0002Ed-85 for emacs-devel@gnu.org; Wed, 04 Apr 2018 15:59:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3oZ1-0003JF-GI for emacs-devel@gnu.org; Wed, 04 Apr 2018 15:59:24 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:60302) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f3oYx-0003GN-Sr; Wed, 04 Apr 2018 15:59:19 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2FCB6161625; Wed, 4 Apr 2018 12:59:18 -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 nNldFl5gflS1; Wed, 4 Apr 2018 12:59:17 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6306D16162D; Wed, 4 Apr 2018 12:59:17 -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 qMAgVtzaKn87; Wed, 4 Apr 2018 12:59:17 -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 42ED0161625; Wed, 4 Apr 2018 12:59:17 -0700 (PDT) In-Reply-To: <83o9iy3gri.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:224328 Archived-At: On 04/04/2018 12:37 PM, Eli Zaretskii wrote: > You could perhaps remove GC from this equation by raising=20 > gc-cons-threshold? It doesn't remove GC entirely, but it does speed things up considerably=20 and the hot spots change. Here's a sample profile (the data are noisier=20 now of course): 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=A025.00=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.02=C2=A0=C2=A0=C2=A0=C2=A0 0= .02=C2=A0=C2=A0 673036=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0=C2=A0= 0.00 mark_object =C2=A012.50=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.03=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0 69505=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0= =C2=A0 0.00 Fassq =C2=A012.50=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.04=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=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=A012.50=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.05=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0 31578=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0= =C2=A0 0.00 Ffuncall =C2=A012.50=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.06=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0 10570=C2=A0=C2=A0=C2=A0=C2=A0 0.00=C2=A0=C2=A0=C2=A0= =C2=A0 0.00 exec_byte_code =C2=A012.50=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.07=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 225=C2=A0=C2=A0=C2=A0=C2=A0 0.04=C2=A0=C2= =A0=C2=A0=C2=A0 0.04 map_sub_char_table =C2=A012.50=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0.08=C2=A0=C2=A0=C2=A0=C2=A0 0= .01=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3=C2=A0=C2=A0=C2=A0=C2=A0 3= .33=C2=A0=C2=A0=C2=A0=C2=A0 3.33 sweep_strings The command I used was: emacs -Q -eval "(progn (setq gc-cons-threshold most-positive-fixnum)=20 (describe-variable 'password-word-equivalents))" and typing C-x C-c immediately. I suspect this is not helping us find=20 Drew's problem.