emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Split `simple.el'?


From: Paul Eggert
Subject: Re: Split `simple.el'?
Date: Wed, 4 Apr 2018 12:59:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04/04/2018 12:37 PM, Eli Zaretskii wrote:
You could perhaps remove GC from this equation by raising gc-cons-threshold?
It doesn't remove GC entirely, but it does speed things up considerably and the hot spots change. Here's a sample profile (the data are noisier now of course):

Each sample counts as 0.01 seconds.
  %   cumulative   self              self total
 time   seconds   seconds    calls  ms/call  ms/call name
 25.00      0.02     0.02   673036     0.00     0.00 mark_object
 12.50      0.03     0.01    69505     0.00     0.00 Fassq
 12.50      0.04     0.01    49803     0.00     0.00 re_search_2
 12.50      0.05     0.01    31578     0.00     0.00 Ffuncall
 12.50      0.06     0.01    10570     0.00     0.00 exec_byte_code
 12.50      0.07     0.01      225     0.04     0.04 map_sub_char_table
 12.50      0.08     0.01        3     3.33     3.33 sweep_strings

The command I used was:

emacs -Q -eval "(progn (setq gc-cons-threshold most-positive-fixnum) (describe-variable 'password-word-equivalents))"

and typing C-x C-c immediately. I suspect this is not helping us find Drew's problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]