9d2d523...
by
Ashod Nakashian <email address hidden>
on 2019-04-22
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: I479f2ead1bbd29 96b9972082e00eb f984072f785
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>
on 2019-04-22
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: Id5790369cd4934 23a47acab8a3d51 07ce91b0d39
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>
on 2019-04-20
wsd: tile serializer now supports adding a suffix
Moves appending tokens into the serializer and
avoids making extra copies of itself.
Change-Id: I62d374e69d9c4a 55643ea20cb5f8c 2b9c75c88c5
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>
on 2019-04-20
wsd: set vector size when constructing
Change-Id: I68718554017b47 b6df1c6bf3b9974 83d4c753136
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>
on 2019-04-20
wsd: reuse ostringstream when logging
This is faster and reduces memory fragmentation.
Also, cleans up the logging macros and implementation.
Change-Id: I7fb00da041d126 1c694c4b48b67a3 c66ad0cbf8d
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>
on 2019-04-20
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: Ibdefd32172774a 280637f73dd0622 82b7bf62025
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>
on 2019-04-20
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: Iba88eea8f180d1 1458b33c68389e7 97234df1a60
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>
on 2019-04-20
wsd: logging, comments, and const correctness
Change-Id: Ibfbef282e951a8 0fb145239df4bbc c9f3e4c8e13
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>
on 2019-04-02
fix build: "sockaddr_un addrunix’ has incomplete type ...
and cannot be defined"
Change-Id: I2c136fc47c800e c3efd6268b46011 00033e22724
233e61f...
by
Samuel Mehrbrodt <email address hidden>
on 2019-04-01
Fix -Werror= maybe-uninitial ized
Change-Id: I076fb4b9ef80e4 fbf13cdd22cff51 ab1e99a2c6c