Closed christophmas closed 10 months ago
https://stackoverflow.com/a/34010256 TCP_NODELAY trades off throughput for latency by writing immediately rather than combining multiple SCPI commands into a single 4K IP packet. It's probably worth testing this with a variety of workloads to see if this is "always better".
Every Tcp Request needs 0.2s which makes measurements quite slow. Now there is now delay before sending.
Furthermore as a remark, there are few places in code, where an arbitrary pause is introduced. Imho, this can be removed, too. At least I do not had any Issues about that.