https://issues.apache.org/ooo/show_bug.cgi?id=122911

Clarence GUO <clarence.guo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clarence.guo...@gmail.com

--- Comment #7 from Clarence GUO <clarence.guo...@gmail.com> ---
I think it is not a regression.
I tested both 3.4.0 and 4.0 on my machine, Intel Core(TM2) Duo CPU E6750 2.55
GHz, 1.97 GHz, 2G RAM, Windows XP, follow below steps. I tested several times
and get an average time.

Load file after restart soffice process: Insure there's no soffice process in
task manager, if there is, kill it, then start AOO, load file from menu,
File->Open, on 3.4, consuming time is 3.482s; on 4.0, time is 3.082s
Load file from an existing soffice process: Afterwards, open the sample from
menu File->Recent Files, on 3.4, consuming time is 2.538s, on 4.0, time is
2.53s.
I cannot see significant gap between 3.4.0 and 4.0.

I note many of you mentioned first attempt will be 6-7s. I also find when I
first start AOO then do first attempt, the time will be 6-7s, but once exit
from AOO even terminate the process in task manager and restart AOO then load
again, the time will be 3+s. This phenomenon I can find on both 3.4.0 and 4.0.
So I think there is no regression.

I also tested LibreOffice. First run LibreOffice4.1, first attempt is around 6s
too. Then terminate the process and restart LibreOffice, loading the file also
need 3+s. The result is same with AOO4.0 so far. But the difference is
afterwards once load the file again from menu File->Recent Files, LibreOffice
will use only 0.5s, but AOO4.0 needs 2+s.

I debugged code and find 80% time are spent on calling XML_Parse(called in
sax). XML_Parse is a third party code of expat.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to