http://openoffice.org/bugzilla/show_bug.cgi?id=118222

        Issue Type: ENHANCEMENT
           Summary: Consolidate diverging mail merge mechanisms with
                    different timings
    Classification: Application
           Product: Word processor
           Version: version58
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: ui
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


I did a performance-test with the following possible mechanismns to get the
same mail merge result (mailmerge in to a file) out of the same input files (an
.odt main-document and a .ods data table):

1) Mail Merge via Tools->Mail Merge Wizard

2) Mail Merge via File->Print->YES (print into file)

3) Mail Merge via API-Service css.text.MailMerge 

The result is, that all three mechanism seems to be implemented different and
have different timings/performance.

Winner was Mail Merge Wizard, Second the API-Service and last File->Print.
File->Print is over 20% slower than the Mail Merge Wizard. See attached
pdf-document with the measured timings and a small diagram.

>From other experiences I got with the OOo-Mail Merge I also know, that
File->Print uses a temporary file in /tmp/<dir>/sv.*tmp where as the Mail Merge
Wizard uses a newly created empty document (in memory) instead for each
processed database entry. So the mechanism diverge not just in timing, but also
in the implementation details. 

The enhancement should be to consolidate the three mechanism into one mechanism
with the same algorithm and performance. The new mechanism should be aligned to
the faster mechanism of the Mail Merge Wizard. The mechanisms 2) and 3) will be
accelerated by that enormously. The corresponding three diverging parts of the
writer-code will be consolidated into one and easier to maintain.

Find attached the following files:

a) the input-files for my timing-test brief.odt and brief.ods

b) the test-result overview (durationOfMailMergeJobs.pdf)

c) the small test-program I used to serve the API (needed for mechanism 3))

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to