Presuming the OS in question supports it it might be elucidating to use strace or its equivalent (dtruss, what not) to watch the underlying system calls being made with relative timings enabled. I don't know for sure but it sounds like it might be some weird Nagle's algorithm interaction going on.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Socket slowdown when using two separate print statements
by Fletch
in thread Socket slowdown when using two separate print statements
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |