The first wait is on read, the 2nd on futex
[pid 20441] read(5, 
"\0\0\0@\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) 
= 64
[pid 20441] rt_sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 ALRM CHLD IO], 
NULL, 8) = 0
[pid 20441] rt_sigprocmask(SIG_BLOCK, [HUP INT USR1 USR2 ALRM CHLD IO], 
[HUP INT USR1 USR2 ALRM CHLD IO], 8) = 0
[pid 20441] rt_sigprocmask(SIG_BLOCK, [HUP INT USR1 USR2 ALRM CHLD IO], 
[HUP INT USR1 USR2 ALRM CHLD IO], 8) = 0
[pid 20441] writev(3, 
[{iov_base="\34\0\0\0000\0\0\0\0\0\0\0\2\0\0\0\250r\204\377\0\0\0\0\0ty\270\377\377\377\377"...,
 
iov_len=64}, 
{iov_base="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
 
iov_len=40}, {iov_base="\1\0\0\0\20\0\0\0", iov_len=8}], 3) = 112
[pid 20441] read(5, 
"\3\1\0\0\0\0\0\0\330\2656\374w\237\325\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
64) = 64
[pid 20441] rt_sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 ALRM CHLD IO], 
NULL, 8) = 0
[pid 20441] rt_sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 ALRM CHLD IO], 
NULL, 8) = 0
[pid 20441] read(7, 


 <unfinished ...>
[pid 20437] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed 
out)
[pid 20437] nanosleep({tv_sec=0, tv_nsec=20000}, NULL) = 0
[pid 20437] futex(0x59fb70, FUTEX_WAIT_PRIVATE, 0, {tv_sec=60, tv_nsec=0}


BR,
Miha

On Tuesday, November 19, 2019 at 10:09:12 PM UTC+1, Ian Lance Taylor wrote:
>
> On Tue, Nov 19, 2019 at 11:45 AM <miha.v...@gmail.com <javascript:>> 
> wrote: 
> > 
> > > Doesn't seem to happen with a exec of "/usr/bin/date" so it is most 
> likely something wine+Go specific. 
> > Yeah, I did try catting the file and it was fast enough. So you are 
> probably right. 
> > 
> > Whats interesting is if I do it indirectly via shell script (then this 
> is only 5 times slower not 28): But still too slow. Hell PHP can't be 
> faster at this than Go. 
>
> Use strace -f to see what the Go program is doing. 
>
> Ian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c12d38c3-618f-499a-bcaf-d2862272cfed%40googlegroups.com.

Reply via email to