libreoffice-online:private/mmeeks/uds

Last commit made on 2019-04-27
Get this branch:
git clone -b private/mmeeks/uds https://git.launchpad.net/libreoffice-online

Branch merges

Branch information

Name:
private/mmeeks/uds
Repository:
lp:libreoffice-online

Recent commits

9d2d523... by Ashod Nakashian <email address hidden>

wsd: reduce tile logging from debug to trace level

These are very frequent and not very useful without
the ability to trace them across the system, which
are all done at trace level. So it's highly unlikely
that these would be used at debug.

Change-Id: I479f2ead1bbd2996b9972082e00ebf984072f785
Reviewed-on: https://gerrit.libreoffice.org/71073
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>

fee9341... by Ashod Nakashian <email address hidden>

leaflet: process the most common message first

The 'tile:' message is the most common and most
latency sensitive message, so give it priority.

Change-Id: Id5790369cd493423a47acab8a3d5107ce91b0d39
Reviewed-on: https://gerrit.libreoffice.org/71071
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

ac7db5b... by Ashod Nakashian <email address hidden>

wsd: tile serializer now supports adding a suffix

Moves appending tokens into the serializer and
avoids making extra copies of itself.

Change-Id: I62d374e69d9c4a55643ea20cb5f8c2b9c75c88c5
Reviewed-on: https://gerrit.libreoffice.org/71022
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

0d99dc7... by Ashod Nakashian <email address hidden>

wsd: set vector size when constructing

Change-Id: I68718554017b47b6df1c6bf3b997483d4c753136
Reviewed-on: https://gerrit.libreoffice.org/71021
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

242df15... by Ashod Nakashian <email address hidden>

wsd: reuse ostringstream when logging

This is faster and reduces memory fragmentation.

Also, cleans up the logging macros and implementation.

Change-Id: I7fb00da041d1261c694c4b48b67a3c66ad0cbf8d
Reviewed-on: https://gerrit.libreoffice.org/71020
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

2ac2bf1... by Ashod Nakashian <email address hidden>

wsd: use thread_local instead of __thread

The former is the standard C++ approach
and is reportedly faster than __thread
(at least with gcc).

Change-Id: Ibdefd32172774a280637f73dd062282b7bf62025
Reviewed-on: https://gerrit.libreoffice.org/71019
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

b5efa32... by Ashod Nakashian <email address hidden>

wsd: use fast deflate level for png

The default deflate level of 6 is quite slow
and the benefits are hardly worth the high
latency that users experience.

Tested on a writer document with some small
images and a few pages of text:

Level 4 gives virtually identical compression
ratio to level 6, but is between 5-10% faster.

Level 3 runs almost twice as fast as level 6,
but the output is typically 2-3x larger.

Perhaps this should be exposed via config
so it would be possible to reduce latency
due to compression when CPU is scarce but
network bandwidth ample, and vice versa.

Change-Id: Iba88eea8f180d11458b33c68389e797234df1a60
Reviewed-on: https://gerrit.libreoffice.org/71018
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

4b2f9be... by Ashod Nakashian <email address hidden>

wsd: logging, comments, and const correctness

Change-Id: Ibfbef282e951a80fb145239df4bbcc9f3e4c8e13
Reviewed-on: https://gerrit.libreoffice.org/71017
Reviewed-by: Ashod Nakashian <email address hidden>
Tested-by: Ashod Nakashian <email address hidden>
Signed-off-by: Michael Meeks <email address hidden>

35a21fd... by Henry Castro <email address hidden>

fix build: "sockaddr_un addrunix’ has incomplete type ...

and cannot be defined"

Change-Id: I2c136fc47c800ec3efd6268b4601100033e22724

233e61f... by Samuel Mehrbrodt <email address hidden>

Fix -Werror=maybe-uninitialized

Change-Id: I076fb4b9ef80e4fbf13cdd22cff51ab1e99a2c6c