unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Phil Sainty <psainty@orcon.net.nz>, 44464@debbugs.gnu.org
Subject: bug#44464: 28.0.50; slow shell output
Date: Thu, 05 Nov 2020 14:41:07 +0000	[thread overview]
Message-ID: <878sbfg930.fsf@tcd.ie> (raw)
In-Reply-To: <83zh3vano9.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Nov 2020 16:22:30 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: 44464@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
>> From: Phil Sainty <psainty@orcon.net.nz>
>> Date: Fri, 6 Nov 2020 02:54:17 +1300
>> 
>> I can reproduce the issue (in 27.1), and it seems to me that it's
>> all about that one paragraph of right-to-left text.
>> 
>> If I disable `bidi-display-reordering', I see no slow-downs.
>
> I don't see any particularly bad slowdown at all, but maybe I didn't
> make all the steps (I don't have 'curl').  Do you see the same
> slowdown if you fetch the URL with, say, WGET, and then visit it in
> Emacs?  If not, how to reproduce this without 'curl'?

0. emacs -Q
1. M-x shell RET
2. C-x 1
3. wget -O- http://dbpedia.org/resource/Earth
4. RET

The printing to *shell* happens at a speed that I'm accustomed to in
Emacs shell emulators, but there's a noticeable pause for a fraction of
a second at a couple of lines, one of which contains Arabic script.

While printing, the last line is also highlighted in blue, i.e. with the
comint-highlight-prompt face.  You can also see this with e.g.

  $ while :; do printf hi; sleep 1; done

-- 
Basil

In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
 of 2020-11-05 built on thunk
Repository revision: 771046f5d888c703c875d8629fdf227429a36d3d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid

Configured using:
 'configure 'CC=ccache gcc' 'CFLAGS=-O2 -march=native' --config-cache
 --prefix=/home/blc/.local --with-x-toolkit=lucid
 --with-file-notification=yes --with-x'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB
NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT
LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS
LIBSYSTEMD JSON PDUMPER LCMS2

Important settings:
  value of $LANG: en_IE.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix





  reply	other threads:[~2020-11-05 14:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05 10:47 bug#44464: 28.0.50; slow shell output Andreas Röhler
2020-11-05 10:55 ` Basil L. Contovounesios
2020-11-05 13:54   ` Phil Sainty
2020-11-05 14:22     ` Eli Zaretskii
2020-11-05 14:41       ` Basil L. Contovounesios [this message]
2020-11-05 15:54         ` 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=878sbfg930.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=44464@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=psainty@orcon.net.nz \
    /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).