Issue 103334 - slow opening of document if it does not contain an object-count.
Summary: slow opening of document if it does not contain an object-count.
Alias: None
Product: Draw
Classification: Application
Component: viewing (show other issues)
Version: OOO310m14
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-07-05 16:25 UTC by frank_markesteijn
Modified: 2017-05-20 10:47 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---

drawing document with object-count (265.69 KB, application/
2009-07-05 16:27 UTC, frank_markesteijn
no flags Details
Drawing not containing an object-count. (265.67 KB, application/
2009-07-05 16:28 UTC, frank_markesteijn
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description frank_markesteijn 2009-07-05 16:25:49 UTC
If the meta.xml file of an odf document does not contain an object count the
document loads 2 to 6 times slower than if it does. The progress bar shows, what
looks like, the progress of loading every object separately, this is not usefull
and this very frequent updating of the progress bar may be responsable for the
slow loading of such a document.

I attached two documents object-count.odg and no-object-count.odt, the times it
took to open these two documents, on different platforms is shown in the table

Machine       OS            OpenOffice     Time          Time      Time
                            version        object-count  no-count  relative

G4 1.25 Ghz   Debian 5.0    3.0.1          0:31          2:23      4.6
G4 1.25 Ghz   OS X 10.4.11  NeoOffice 3.0  0:37          1:28      2.3
AMD64 2.3 Ghz Debian 5.0    3.0.1          0:07          0:42      6.0
AMD64 2.3 Ghz osol0906      3.1            0:11          0:30      2.7

This is hardly a major issue but, as far as I can tell, object-count is not a
mandatory item in the the ODF specification, so the difference shouldn't be this
large, it is easier for developers of ODF producing applications not to include
an object count.
Comment 1 frank_markesteijn 2009-07-05 16:27:17 UTC
Created attachment 63368 [details]
drawing document with object-count
Comment 2 frank_markesteijn 2009-07-05 16:28:31 UTC
Created attachment 63369 [details]
Drawing not containing an object-count.
Comment 3 wolframgarten 2009-07-06 08:12:13 UTC
Reproducible. Reassigned to cl. Please have a look. Thanks.
Comment 4 clippka 2009-07-31 15:05:29 UTC
setting target
Comment 5 Marcus 2017-05-20 10:47:29 UTC
Reset assigne to the default "".