unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sujith <m.sujith@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 29889@debbugs.gnu.org
Subject: bug#29889: 27.0.50; Slow visual selection
Date: Sun, 31 Dec 2017 14:12:23 +0530	[thread overview]
Message-ID: <87incnqoeo.fsf@gmail.com> (raw)
In-Reply-To: <724A6161-783D-4CAD-AFBD-40D6AEF2C6E6@gnu.org>

Eli Zaretskii <eliz@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





  parent reply	other threads:[~2017-12-31  8:42 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29  3:52 bug#29889: 27.0.50; Slow visual selection Sujith
2017-12-29  9:04 ` Eli Zaretskii
2017-12-30  1:36   ` Sujith
2017-12-30 10:23     ` Eli Zaretskii
2017-12-31  5:25       ` Sujith
2017-12-31  7:20         ` Eli Zaretskii
2017-12-31  7:29           ` Eli Zaretskii
2018-01-06  1:15             ` Sujith
2018-01-06  8:37               ` Eli Zaretskii
2018-01-06 15:37                 ` Stefan Monnier
2018-01-06 16:16                   ` Eli Zaretskii
2018-01-07 15:24                     ` bug#29889: [SUSPECTED SPAM] " Stefan Monnier
2018-01-07 16:08                     ` martin rudalics
2018-01-07 17:36                       ` Eli Zaretskii
2018-01-07 17:54                         ` Stefan Monnier
2018-01-06 15:46                 ` Sujith
2017-12-31  8:42           ` Sujith [this message]
2017-12-31 15:37             ` Eli Zaretskii
2017-12-31 18:43               ` Eli Zaretskii
2022-04-21 13:25 ` Lars Ingebrigtsen
2022-05-20  2:13   ` Lars Ingebrigtsen
2022-05-20  7:16     ` Eli Zaretskii
2022-05-20  9:07       ` Lars Ingebrigtsen
2022-05-20  8:35     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20  8:39       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:02         ` Eli Zaretskii
2022-05-20  9:03       ` Lars Ingebrigtsen
2022-05-20  9:23         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 10:11           ` Lars Ingebrigtsen
2022-05-20 11:13             ` Eli Zaretskii
2022-05-20 11:32               ` Lars Ingebrigtsen
2022-05-20 11:47               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:13                 ` Eli Zaretskii
2022-05-20 12:16                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:21                     ` Eli Zaretskii
2022-05-20 12:47                       ` Lars Ingebrigtsen
2022-05-20 13:19                         ` Eli Zaretskii
2022-05-21 12:16                           ` Lars Ingebrigtsen
2022-05-21 12:24                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-21 13:29                               ` Lars Ingebrigtsen
2022-05-22  1:13                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-22 11:16                                   ` Lars Ingebrigtsen
2022-05-22 12:07                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-22 12:11                                       ` Lars Ingebrigtsen
2022-05-22 12:30                                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-23  7:50                                           ` Lars Ingebrigtsen
2022-05-23  9:04                                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-23  9:11                                               ` Lars Ingebrigtsen
2022-05-23  9:56                                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:45             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:52               ` Lars Ingebrigtsen
2022-05-20 11:08           ` Eli Zaretskii
2022-05-20 11:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:19               ` Eli Zaretskii
2022-05-20 12:39                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 13:18                   ` Eli Zaretskii
2022-05-20 13:27                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:03       ` Eli Zaretskii
2022-05-20 11:49         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:16           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87incnqoeo.fsf@gmail.com \
    --to=m.sujith@gmail.com \
    --cc=29889@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).