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

--- Comment #13 from Alexandre Sena Coelho <[email protected]> ---
Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 4; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Ubuntu package version: 4:24.8.3-0ubuntu0.24.10.1
Calc: threaded

I have been working to better understand what is happening.
I conducted an analysis of LibreOffice's behavior when exporting to the EPUB
format with the Layout Method set to "Fixed".
My analysis involved observing the export times according to the document size.
I used the original document and divided it into several parts, incrementing
the number of pages by 100 each time.
This allowed me to create 10 documents: one with 100 pages, another with 200
pages, and so on.
Here are the results:

Pages   Time (seconds)
100     19.16
200     63.92
300     163.04
400     367.91
500     641.14
600     1004.44
700     1534.58
800     2251.39
900     3243.18
1013    4389.13

After analyzing the data, I determined that the export time growth approximates
a cubic growth pattern.
Here is the graph (export-time.png) comparing the real measured data (red
points) and the cubic fit (blue dashed line).
The cubic growth model closely follows the real data, especially for larger
documents.
This alignment confirms that the export time increases according to a cubic
relationship with the number of pages.

This analysis leads to the hypothesis that there may be an optimization issue
during export when using the "Fixed" Layout Method.
The next step would be to analyze the EPUB export routine with the Fixed Layout
Method to identify possible optimization issues.

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

Reply via email to