[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44007: 26.3; Strange shell mode performance
From: |
Eli Zaretskii |
Subject: |
bug#44007: 26.3; Strange shell mode performance |
Date: |
Mon, 06 Nov 2023 14:08:37 +0200 |
> Date: Sun, 5 Nov 2023 17:46:15 +0100
> From: Herman, Géza <geza.herman@gmail.com>
> Cc: 44007@debbugs.gnu.org
>
> I think I found another thing which is needed: tty echo must be enabled.
> With bash, echo is disabled by default, so the issue doesn't happen.
> With zsh, echo is enabled by default, and the issue happens (I'm not
> sure why zsh turns on echo).
>
> So either one has to use zsh to repro the issue, or use these updated steps:
> 1. emacs -Q
> 2. M-x shell RET
> 3. stty echo
> 4. seq 100000
>
> With echo disabled, "seq 100000" takes ~0.2 sec. With echo enabled, it
> takes 3 sec (and pressing RET immediately after executing seq makes it
> fast).
I'm not sure what exactly are we trying to do here. AFAIU, at least 2
variables were discovered that can speed up this example, so what else
has to be done? Is there any bug here, and if so, what is the bug?
- bug#44007: 26.3; Strange shell mode performance, Herman, 2023/11/05
- bug#44007: 26.3; Strange shell mode performance,
Eli Zaretskii <=
- bug#44007: 26.3; Strange shell mode performance, Herman, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Eli Zaretskii, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Herman, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Eli Zaretskii, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Herman, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Eli Zaretskii, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Herman, 2023/11/06
- bug#44007: 26.3; Strange shell mode performance, Dmitry Gutov, 2023/11/06