From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sujith Newsgroups: gmane.emacs.bugs Subject: bug#29889: 27.0.50; Slow visual selection Date: Sun, 31 Dec 2017 14:12:23 +0530 Message-ID: <87incnqoeo.fsf@gmail.com> References: <87y3lmgphl.fsf@gmail.com> <83tvw9gb26.fsf@gnu.org> <87efndro8q.fsf@gmail.com> <837et4fraf.fsf@gnu.org> <87wp13h3jn.fsf@gmail.com> <724A6161-783D-4CAD-AFBD-40D6AEF2C6E6@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1514709743 500 195.159.176.226 (31 Dec 2017 08:42:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 31 Dec 2017 08:42:23 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 27.0.50 Cc: 29889@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 31 09:42:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eVZCA-00082V-9z for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Dec 2017 09:42:14 +0100 Original-Received: from localhost ([::1]:59849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVZE9-0001hh-7B for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Dec 2017 03:44:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVZE0-0001hL-1x for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 03:44:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVZDv-0006tJ-5p for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 03:44:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVZDv-0006t7-1Y for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 03:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eVZDt-0003Re-Mj for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2017 03:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sujith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Dec 2017 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29889 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29889-submit@debbugs.gnu.org id=B29889.151470979113167 (code B ref 29889); Sun, 31 Dec 2017 08:44:01 +0000 Original-Received: (at 29889) by debbugs.gnu.org; 31 Dec 2017 08:43:11 +0000 Original-Received: from localhost ([127.0.0.1]:58361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVZD5-0003QI-HC for submit@debbugs.gnu.org; Sun, 31 Dec 2017 03:43:11 -0500 Original-Received: from mail-pl0-f51.google.com ([209.85.160.51]:34772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVZD3-0003Q3-OK for 29889@debbugs.gnu.org; Sun, 31 Dec 2017 03:43:10 -0500 Original-Received: by mail-pl0-f51.google.com with SMTP id d21so25415766pll.1 for <29889@debbugs.gnu.org>; Sun, 31 Dec 2017 00:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=pn5lcLckbNBTQ53IILjzmCyDIr8eaUKj7+vdAZ3v15A=; b=QBvVMiboD9MQ/yvubeOMd0j2zop6n21ynXQDPDh75kD/t6K4lUXuZgR1sL65gy3jc0 +oVK/wSWqpVP6GhTqfr9n1XByNRit+q0Off6bNspi4B9wTbFzT1QG3sP+qHxXpa3VE1t XggJinUvURyglSog7RghL3X1Tn6O6u2mMdgtalruoLw6NkuOqAr08NbCA8rLT8rAY5Zz VyDIWKdOpVqsYaBO2/J+eFlG4OU5EUaJ4mXtZAiLYh6/Ikb5Lh+um7s7JkfxfTeVvqf/ s1j9/Fuz1ZIsjTprKhSSp9vYEKP0IyJV9aQDYu0rM1pQCfGvvQa2NN9j1HIGAQHsECYA wd2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=pn5lcLckbNBTQ53IILjzmCyDIr8eaUKj7+vdAZ3v15A=; b=AcgVjieSnka2hpHM7//LnuLzrKJv4G5vrKYYhY7C8c1ozmNrmFxMyuWZApYskOCb+h qmt6AtAQyJcQRKPf7m+q+5QIvxooftayGmTTXq1iK3dUvfoPEPypOlzRiNSFUn2F/YY4 hAbUJrLCI4dOtzj3TriAKSdYIOpONr+ZfBlzD5NWiEDc52eWd9xOT/fkbwiCUXlkdGD6 KtSA62PTp3813YpQnRWPsZfVQuy1nue+I6oXUb9FND9B+qEzCR7Ir2obGRX6mTeMVdzn D/omg7OhJZvATFnd+9OEqOK8l+L5srpbRrKYBqx7mjfTBp7e8uAiHxbzCiyxzW+6x5FL FyTA== X-Gm-Message-State: AKGB3mIRMc/MbEk+JqSnEO6vdKuhA/ii2E61ZWXVmpylp/e6RgiWSQrI GXZg2SulXjfFSJCL3a0VtGaVRuN4 X-Google-Smtp-Source: ACJfBotiMY3Tqr3eZpx/5ooMJO0D1/k2zpc4DRINHUMyZOu41Rf9HtyvS3Zs+Bj+tqpA4baK8XI/ZA== X-Received: by 10.84.201.6 with SMTP id u6mr40211169pld.16.1514709783182; Sun, 31 Dec 2017 00:43:03 -0800 (PST) Original-Received: from the-damned ([117.242.89.150]) by smtp.gmail.com with ESMTPSA id a22sm86465554pfc.47.2017.12.31.00.42.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 31 Dec 2017 00:43:02 -0800 (PST) In-reply-to: <724A6161-783D-4CAD-AFBD-40D6AEF2C6E6@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141641 Archived-At: Eli Zaretskii 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