Issue 121190

Summary: improve xlsx loading performance by disable 'UpdatePageBreaks' in loading.
Product: performance Reporter: lizh.fee
Component: codeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: chao.dev.h
Version: AOO400-dev   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
to improve xlsx loading performance
lizh.fee: review?
sample lizh.fee: review?

Description lizh.fee 2012-10-10 08:02:52 UTC
UpdatePageBreaks was called many times wrongly when loading.

Solution:
1. temporarily disable 'UpdatePageBreaks' in WorkbookGlobals::initialize( bool bWorkbookFile )
2. disable 'UpdatePageBreaks' in loading .xlsx format file in function ScTable::UpdatePageBreaks( const ScRange* pUserArea )
3. enable 'UpdatePageBreaks' after loading finish in WorkbookGlobals::finalize()
Comment 1 lizh.fee 2012-10-10 08:47:27 UTC
Created attachment 79755 [details]
to improve xlsx loading performance
Comment 2 lizh.fee 2012-10-15 02:43:45 UTC
Created attachment 79773 [details]
sample
Comment 3 lizh.fee 2012-10-15 02:44:37 UTC
Below is the manual test result on the attached sample.

complex
old:  24.81 24.56 24.62 24.63 24.75   avg:24.67
new:  18.72 18.78 18.75 18.75 18.69   avg:18.74
Comment 4 ChaoHuang 2012-10-17 08:18:43 UTC
Suggest to put it into AOO 3.5.0 release