From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by sourceware.org (Postfix) with ESMTPS id E7854385BF9F for ; Sun, 22 Mar 2020 03:21:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E7854385BF9F Date: Sun, 22 Mar 2020 03:21:35 +0000 To: "cygwin@cygwin.com" From: Joe Reply-To: Joe Subject: New pty implementation is really slow Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_40, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2020 03:21:48 -0000 I'm using cygwin 3.1.4 on Windows 10. The new pseudo terminal stuff seems really slow. For example: $ time seq 10000 (output omitted) real 0m23.510s user 0m1.515s sys 0m4.483s If I minimize the mintty window while seq is running, it gets slightly bett= er: real 0m4.562s user 0m0.390s sys 0m1.202s But when I set CYGWIN=3Ddisable_pcon before starting mintty, I get: $ time seq 10000 (output omitted) real 0m0.366s user 0m0.109s sys 0m0.093s So the new implementation seems to be over 60 times slower than the old one= .