tmux 2.x performance regression when switching windows

Corinna Vinschen corinna-cygwin@cygwin.com
Wed May 27 12:50:00 GMT 2015


On May 24 14:02, Patrick Mézard wrote:
> Hello,
> 
> I noticed moving between tmux windows became much slower since 2.0.x
> when running some applications in the windows. The problems disappear
> if I move back to 1.9. To reproduce:
> - Cygwin: CYGWIN_NT-6.1-WOW PMD 2.0.2(0.287/5/3) 2015-05-08 17:03 i686 Cygwin, Win7 64 bits.
> - Start tmux and create two windows.
> - In one of the windows, execute the following Go program (natively compiled, Go 1.4.2 64-bits):
> """
> package main
> 
> import (
>     "fmt"
>     "time"
> )
> 
> func main() {
>     for i := 0; ; i++ {
>         fmt.Println(i)
>         time.Sleep(500*time.Millisecond)
>     }
> }
> """
> - Try switching between windows
> KO => it eventually succeeds but lags a lot. With 1.9, the switch is
> immediate.

1.9?  Do you mean 1.7.35, by any chance?  This *may* be related to the
changes in the pty code, which now uses two different pipes for Cygwin
and for native processes...

Takashi, any chance you could take a look?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150527/6496a0e1/attachment.sig>


More information about the Cygwin mailing list