Thank you everybody for poking this problem. After much discussion in different places I was able to resolve this: set the TCP_NODELAY flag when setting up the connection on both sides. By passing the following string:
uno:socket,host=localhost,port=2002,tcpNoDelay=1 when creating both the Office instance and the client side, the test document ran for about 0.9 seconds (instead of 45s) at almost the speed of the named pipe. More info about this is here: https://superuser.com/questions/860321/linux-localhost-sockets-painfully-slower-than-on-mac/862303 Cheers, Jens -- Jens Tröger http://savage.light-speed.de/ _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice