[Libreoffice-bugs] [Bug 109200] Draw seems to lock, calls sbrk() like crazy, and takes 5' opening a pdf

2023-04-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=109200

--- Comment #15 from Gerald Pfeifer  ---
Still slow in 6.4.8.0.0, 7.2.8.0.0, and

  Version: 7.4.8.0.0+ / LibreOffice Community
  Build ID: 603f915294a10f11b4199dfd28704a77f4e05abd
  CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

with with ~113s for the latter on my i5-10210U CPU @ 1.60GHz system
(which is three years old, cf. comment #9 for older measurements on
an older system).


  Version: 7.5.2.0.0+ (X86_64) / LibreOffice Community
  Build ID: bad4f41a69fe3fb08191b839f0c9389683685855
  CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

and

  Version: 7.5.4.0.0+ (X86_64) / LibreOffice Community
  Build ID: f794d79a334413dd1e5c4f4997d11047170024ef
  CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

are indeed down to about 5, 6 seconds, as is current head

  Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: 2e57755f72907e4bb604a8ba32edbd6c253ee57c
  CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

In other words, this likely was addressed in earlier 7.5 development.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 109200] Draw seems to lock, calls sbrk() like crazy, and takes 5' opening a pdf

2023-04-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=109200

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 CC||79045_79...@mail.ru
 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #14 from Roman Kuznetsov <79045_79...@mail.ru> ---
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded

opens the PDF instantly

closed as WFM

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 109200] Draw seems to lock, calls sbrk() like crazy, and takes 5' opening a pdf

2022-03-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=109200

--- Comment #13 from Gerald Pfeifer  ---
Still slooow with (mostly) current -dev builds:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 2b924f0d83ce63882e7d14a2b51cc645c2532920
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 109200] Draw seems to lock, calls sbrk() like crazy, and takes 5' opening a pdf

2020-03-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=109200

--- Comment #11 from Jiri Slaby  ---
Created attachment 158444
  --> https://bugs.documentfoundation.org/attachment.cgi?id=158444=edit
perf report of draw

According to these perf measurements, Draw seems to spend significant time in
pdfi::PageElement::resolveUnderlines which contains this FIXME:
// FIXME: currently the algorithm used is quadratic
// this could be solved by some sorting beforehand


That function searches the document for horizontal lines and removes them if
they underline some text (and makes the text underlined instead). Well, the
document contains many horizontal lines.

The algorithm should be optimized or should time out after a while (not 5
minutes).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 109200] Draw seems to lock, calls sbrk() like crazy, and takes 5' opening a pdf

2020-03-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=109200

Jiri Slaby  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #10 from Jiri Slaby  ---
(In reply to Gerald Pfeifer from comment #9)
> Is this an improvement, or did you not wait that long (or used a
> significantly
> slower machine)?

Oh really -- it takes ~ 5 mins, I never waited for that long.

libreoffice-6.4.1.1-1.1.x86_64

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 109200] Draw seems to lock, calls sbrk() like crazy, and takes 5' opening a pdf

2020-03-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=109200

Gerald Pfeifer  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
Summary|draw locks up and spins on  |Draw seems to lock, calls
   |the CPU while opening a pdf |sbrk() like crazy, and
   ||takes 5' opening a pdf

--- Comment #9 from Gerald Pfeifer  ---
On my four year old notebook, at T450 with Intel Core i7-5600U CPU @ 2.60GHz
LibreOffice 7.0 alpha manages to open this after 5 minutes.

An strace shows a long list of calls to sbrk().

Is this an improvement, or did you not wait that long (or used a significantly
slower machine)?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs