From: Joe <joeworth@protonmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: New pty implementation is really slow
Date: Sun, 22 Mar 2020 03:21:35 +0000 [thread overview]
Message-ID: <T2ea_w0xYVfOjY80lzLI17-jZsISnTZXfTh_jqEePHLNtgG2TCVMAovKFkBIEKhISLr9GFOIKSUixMgWa72iiqZLCDUCXVCJbAy3w7DGphU=@protonmail.com> (raw)
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 better:
real 0m4.562s
user 0m0.390s
sys 0m1.202s
But when I set CYGWIN=disable_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.
next reply other threads:[~2020-03-22 3:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-22 3:21 Joe [this message]
2020-03-22 5:51 ` Marco Atzeri
2020-03-22 7:43 ` Thomas Wolff
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='T2ea_w0xYVfOjY80lzLI17-jZsISnTZXfTh_jqEePHLNtgG2TCVMAovKFkBIEKhISLr9GFOIKSUixMgWa72iiqZLCDUCXVCJbAy3w7DGphU=@protonmail.com' \
--to=joeworth@protonmail.com \
--cc=cygwin@cygwin.com \
/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.
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).