https://bugs.documentfoundation.org/show_bug.cgi?id=140177

--- Comment #6 from Hossein <[email protected]> ---
I can confirm big improvement:

$ time libreoffice --headless --convert-to pdf testFile.html 
real    1m25.795s
user    1m23.655s
sys     0m0.141s

But there is still a big gap between this result and what is currently
achievable with a browser:

Without GPU:
$ time google-chrome --headless --disable-gpu --print-to-pdf testFile.html 
real    0m0.938s
user    0m0.390s
sys     0m0.219s

It is interesting that the system time for LibreOffice is actually less than
Chrome, but the user/real time is multiple times compared to Chrome. The CPU
time is wasted in many nested loops/conditionals/inefficient operations.

Profiling shows Wasted time is spent in SwTabFrame::MakeAll(), which is a huge
function containing ~1K line of code.

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

Reply via email to