1. 28 May, 2019 3 kayıt (commit)
    • Luboš Luňák's avatar
      parallel deflate compression (one stream, multiple threads) · aa44e109
      Luboš Luňák yazdı
      ZipPackageStream::saveChild() already had one threaded compression,
      but that still uses only one thread for one stream. Many documents
      contain many streams (where this is useful), but large documents
      often contain one huge content.xml, which then would be compressed
      using just one thread.
      But it is in fact possible to do deflate in parallel on the same data,
      at the cost of somewhat increased CPU usage (spread over threads).
      This is handled separately from the background thread path, as
      integrating these two approaches would probably be needlessly complex
      (since they both internally use ThreadPool, the tasks should often
      intermix and parallelize anyway).
      On my 4-core (8 HT threads) machine this reduces the compression time
      of tdf#113042 from 3s to 1s.
      
      Change-Id: Ifbc889a27966f97eb1ce2ce01c5fb0b151a1bdf8
      Reviewed-on: https://gerrit.libreoffice.org/73032
      Tested-by: Jenkins
      Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
      aa44e109
    • Luboš Luňák's avatar
      split out thread functionality from ZipOutputEntry · 7cd3f267
      Luboš Luňák yazdı
      It can be easily separated out, it looked like hacked in. And
      I will need to do more refactoring of the class, so this shouldn't
      be more complex than necessary.
      
      Change-Id: I302da55409e9195274907ca4939c37fbb2427b18
      Reviewed-on: https://gerrit.libreoffice.org/73031
      Tested-by: Jenkins
      Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
      7cd3f267
    • Luboš Luňák's avatar
      try harder not to deflate small streams in a thread · ee22409a
      Luboš Luňák yazdı
      E.g. with the bugdoc from tdf#93553, most of the streams to save
      are actually small, they just do not provide XSeekable. Since it
      seems all the streams are already fully available by the time
      the zip packaging is done, fallback to XInputStream::available()
      to find out if the stream is small.
      With this, the zipping part of saving tdf#93553 is now down
      from ~1.5s to ~0.5s.
      This presumably also makes the hack for tdf#93553 unnecessary.
      
      Change-Id: Id9bb7d835400d6d8f147f5c11ade684a549aba53
      Reviewed-on: https://gerrit.libreoffice.org/73030
      Tested-by: Jenkins
      Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
      ee22409a
  2. 21 May, 2019 1 kayıt (commit)
  3. 19 May, 2019 1 kayıt (commit)
  4. 17 May, 2019 1 kayıt (commit)
  5. 12 May, 2019 1 kayıt (commit)
  6. 10 May, 2019 1 kayıt (commit)
  7. 09 May, 2019 1 kayıt (commit)
  8. 19 Nis, 2019 1 kayıt (commit)
  9. 13 Nis, 2019 1 kayıt (commit)
  10. 09 Nis, 2019 1 kayıt (commit)
  11. 08 Nis, 2019 3 kayıt (commit)
  12. 07 Nis, 2019 1 kayıt (commit)
  13. 31 Mar, 2019 1 kayıt (commit)
  14. 28 Mar, 2019 1 kayıt (commit)
  15. 17 Mar, 2019 1 kayıt (commit)
  16. 03 Mar, 2019 1 kayıt (commit)
  17. 19 Şub, 2019 1 kayıt (commit)
  18. 15 Şub, 2019 1 kayıt (commit)
  19. 11 Şub, 2019 1 kayıt (commit)
  20. 09 Şub, 2019 1 kayıt (commit)
  21. 22 Ock, 2019 1 kayıt (commit)
  22. 08 Ara, 2018 1 kayıt (commit)
  23. 05 Ara, 2018 1 kayıt (commit)
  24. 29 Kas, 2018 1 kayıt (commit)
  25. 24 Kas, 2018 1 kayıt (commit)
  26. 16 Kas, 2018 1 kayıt (commit)
  27. 12 Kas, 2018 1 kayıt (commit)
  28. 07 Kas, 2018 1 kayıt (commit)
  29. 05 Kas, 2018 1 kayıt (commit)
  30. 03 Kas, 2018 1 kayıt (commit)
  31. 31 Eki, 2018 1 kayıt (commit)
  32. 19 Eki, 2018 2 kayıt (commit)
  33. 18 Eki, 2018 1 kayıt (commit)
  34. 17 Eki, 2018 1 kayıt (commit)
  35. 15 Eki, 2018 1 kayıt (commit)