Changes between Version 23 and Version 24 of PacketEncoding
- Timestamp:
- 07/28/14 14:35:18 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PacketEncoding
v23 v24 63 63 {{{#!div class="box" 64 64 == lz4 vs zlib == 65 As of version {{{0.11.0}}}, xpra supports [https://pypi.python.org/pypi/lz4 lz4] compression and will use it instead of the default [http://docs.python.org/2/library/zlib.html zlib] when {{{LEVEL}}} is set to 1 and both ends support the compression mode. More information here: #443 65 As of version {{{0.11.0}}}, xpra supports [https://pypi.python.org/pypi/lz4 lz4] compression and will use it instead of the default [http://docs.python.org/2/library/zlib.html zlib] when {{{LEVEL}}} is set to 1 and both ends support the compression mode. More information here: #443. 66 There is also support for [http://www.oberhumer.com/opensource/lzo/ lzo] in version {{{0.14.0}}} onwards, it can be used as an alternative to lz4: it is also much faster than zlib but not as efficient as lz4. 66 67 [[BR]] 67 There is a [/browser/xpra/trunk/src/tests/xpra/net/lz4_vs_ zlib.py benchmark test] you can run to measure the performance of lz4 compared to zlib. On average, lz4 is at least 10 times faster than zlib on its fastest setting for regular packets, and even faster for RGB data (close to 20 times faster than zlib)68 There is a [/browser/xpra/trunk/src/tests/xpra/net/lz4_vs_lzo_vs_zlib.py benchmark test] you can run to measure the performance of lz4 and lzo compared to zlib. On average, lz4 is about 10 times faster than zlib on its fastest setting for regular packets, and even faster for RGB data (up to 60 times faster than zlib!) whilst also compressing better than zlib! 68 69 [[BR]] 69 70 You can also find some more generic statistics here: [http://xpra.org/stats/lz4/ lz4 vs zlib graphs]