Re: [Development] QUdpSocket writeDatagram performace on ARM

2014-10-09 Thread Thiago Macieira
On Thursday 09 October 2014 13:36:27 Tom Hirst wrote: > I've come across the problem described in QTBUG-37092 and have tracked it > down to the fact that writeDatagram ends up calling if_nametoindex with an > empty interface name, for some reason on ARM platforms this call takes > around 30ms to co

[Development] QUdpSocket writeDatagram performace on ARM

2014-10-09 Thread Tom Hirst
I've come across the problem described in QTBUG-37092 and have tracked it down to the fact that writeDatagram ends up calling if_nametoindex with an empty interface name, for some reason on ARM platforms this call takes around 30ms to complete. I would suggest avoiding this call if the interface