From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: David Karr Newsgroups: gmane.emacs.help Subject: Performance issues with long lines in shell mode Date: Thu, 7 May 2020 09:40:55 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="107013"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 07 18:46:29 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWjfJ-000RiI-28 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 18:46:29 +0200 Original-Received: from localhost ([::1]:47280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWjfI-0006M5-2E for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 12:46:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWjaA-0004e9-GL for help-gnu-emacs@gnu.org; Thu, 07 May 2020 12:41:10 -0400 Original-Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]:41792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWja9-0002YF-Kk for help-gnu-emacs@gnu.org; Thu, 07 May 2020 12:41:10 -0400 Original-Received: by mail-ot1-x32d.google.com with SMTP id c3so5038567otp.8 for ; Thu, 07 May 2020 09:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=uTbrCcQ10Yk4SeXj/YFbnoylgvZmUJ7tid7OYUTP7Lo=; b=h3OdhQSjfAbOBOAuSUf9WJUzMDGIxFJi0IBfRxtZH10bzPMNfBlpxKURFkoaxZoRhn Lv9qmlzxoQAVTmTi+c7U/OfuA+yedZ0jvkbxDVXR1i60M4lsVaSlnhaXDRF/0SO7zmqz abecxmX6I1Q5SO298aDB42RWmz6kJxROKAmZ6zHWpWxzaoXrshyEPnXdLzZYloJpZQ+x 1ojOREaq3MNzVxjPwz3IwZpplmXHoKl7WezHKndHpJYcarXaseEyId57PALp638CVXB2 4Wh/hJP+wY8tSWASC17aovpuEzUhJ5J8Y10GYzjNVdKw4tiuCWVdCqQo4P3AUoteCXjW 7fOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uTbrCcQ10Yk4SeXj/YFbnoylgvZmUJ7tid7OYUTP7Lo=; b=qedqj0tA2uFQZJmMXnVmeGMmrh1kDCHK0fXjNdcEDpjbtJq+B9qzjJEnwTDvVs7+2f qg6BdU55yfPWeYJQKhQyr59YtInwtdyRbfm0N/1iRw/RXaojPSGFU9ic7XAM/qLA0cD+ N+5YW/FC8v+iHmhvDwVEtDFpmNMCQ8M7pnEzf6m/toR5r5GDs3gcUNn5QZHd6HYLVvhM AuusQF5gdboArag533Y01mK3z+XfpxvxrkkslBG1Bq430CMw/+o5t/2OWcTxkAB9m6vh BshEw3FcPCePv7KuHJ2zvj8Tnp9puexfoKlgrIbB9iY9Oho4uYnMq1VJIg7J0eeVdT6l Kvhg== X-Gm-Message-State: AGi0PuYPHeX8VHxmEzk+heZh5hwbHtUmmSwegcYlesqi0WGg7QZ0FkLE IHynPZd4RZ31g8S+Y21/IS/0322Ln9nsmbTVl9ePJbTI X-Google-Smtp-Source: APiQypKRBS0amNDWAd2uIU5JsKtpa3G2VJmqVkb1sImo16XlV3vnVm0xzyWQ04CScWGZDEgHXbP3WkxpbQ03as4OiTE= X-Received: by 2002:a9d:6d19:: with SMTP id o25mr9418664otp.294.1588869667632; Thu, 07 May 2020 09:41:07 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=davidmichaelkarr@gmail.com; helo=mail-ot1-x32d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Thu, 07 May 2020 12:45:54 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123045 Archived-At: I'm using Cygwin Emacs v26.3. I use shell buffers in Emacs very often. Some of the command lines I run end up producing output with a large number of lines, and sometimes with very long lines. If the output is a large number of lines, it doesn't present any particular problem. However, if it ends up producing very long lines (equivalent of a hundred lines or more), I find that it gets very slow. I generally don't even keep my cursor at the end of the output, so it's adding output that I'm not even seeing. However, I can still tell that it's running slowly. If I occasionally jump to the end of the output, I see it sending characters in bursts, but much less than a line at a time. If I know that what I'm about to run will create long lines, I generally try to remember to pipe it directly to a file and then open that file. That goes much faster than letting it output to the shell. Is there some mitigation I can configure that will help with this?