GNU bug report logs - #29889
27.0.50; Slow visual selection

Previous Next

Package: emacs;

Reported by: Sujith <m.sujith <at> gmail.com>

Date: Fri, 29 Dec 2017 03:54:01 UTC

Severity: normal

Found in version 27.0.50

Full log


View this message in rfc822 format

From: Sujith <m.sujith <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29889 <at> debbugs.gnu.org
Subject: bug#29889: 27.0.50; Slow visual selection
Date: Sun, 31 Dec 2017 14:12:23 +0530
Eli Zaretskii <eliz <at> gnu.org> writes:
> Since mark_object appears high in the profile, could you please
> rerun the experiment after setting gc-cons-threshold and
> gc-cons-percentage so as to avoid GC for the time of the expdriment?

After doing (setq gc-cons-threshold 1000000000), the issue doesn't
seem to happen. The cursor moved around freely except for one
interruption - maybe the GC kicked in then.

Profile report using 'perf record -p `pidof emacs`' just before
starting to move the cursor:

# Samples: 39K of event 'cycles:ppp'
# Event count (approx.): 21976730020
#
# Overhead  Command  Shared Object               Symbol                                   
# ........  .......  ..........................  .........................................
#
    35.09%  emacs    emacs-27.0.50               [.] balance_an_interval
     9.36%  emacs    emacs-27.0.50               [.] Flength
     7.38%  emacs    emacs-27.0.50               [.] lisp_align_free
     5.12%  emacs    emacs-27.0.50               [.] next_interval
     5.12%  emacs    emacs-27.0.50               [.] concat
     3.74%  emacs    emacs-27.0.50               [.] copy_intervals
     2.54%  emacs    emacs-27.0.50               [.] Fcons
     2.13%  emacs    libc-2.26.so                [.] __memmove_sse2_unaligned_erms
     1.94%  emacs    emacs-27.0.50               [.] assq_no_quit
     1.44%  emacs    emacs-27.0.50               [.] copy_properties
     1.39%  emacs    emacs-27.0.50               [.] mem_insert
     1.35%  emacs    emacs-27.0.50               [.] sweep_intervals
     1.34%  emacs    libc-2.26.so                [.] _int_malloc
     1.17%  emacs    emacs-27.0.50               [.] make_interval
     1.14%  emacs    emacs-27.0.50               [.] Fmake_list
     1.02%  emacs    emacs-27.0.50               [.] sweep_conses
     0.76%  emacs    emacs-27.0.50               [.] x_produce_glyphs
     0.76%  emacs    emacs-27.0.50               [.] split_interval_right
     0.76%  emacs    libc-2.26.so                [.] _int_free
     0.65%  emacs    emacs-27.0.50               [.] lookup_char_property
     0.61%  emacs    libc-2.26.so                [.] malloc
     0.57%  emacs    emacs-27.0.50               [.] mem_find.part.9
     0.55%  emacs    emacs-27.0.50               [.] Fcopy_sequence




This bug report was last modified 2 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.