https://bugs.documentfoundation.org/show_bug.cgi?id=148309
Bug ID: 148309 Summary: Mail-merging a complex document with many data records significantly slower after fix for bug 144565 Product: LibreOffice Version: 7.4.0.0 alpha0+ Master Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: m.wegh...@posteo.de Created attachment 179256 --> https://bugs.documentfoundation.org/attachment.cgi?id=179256&action=edit sample doc for mail merge With the fix for tdf#144565 in place, performing a mail merge of the attached document with many data records has become significantly slower. # Steps to reproduce 1) open attached sample document "sample_mail_merge.odt" 2) run mail merge wizard ("Tools" -> "Mail merge wizard") 3) use the attached ODS file "1000ds.ods" that contains 1000 records as database ("Exchange Database", then select the file) 4) finish mail merge wizard 5) select "Save Merged Documents" in the mail merge toolbar 6) leave default selection ("Save as a single large document") and press "Save Documents" 7) wait for mail merge to finish # Actual behavior: With the fix for tdf#144565 in place, this takes a long time. Using commit dfaa8725a4762de874fb144f8a370b9f42f3920f (source sha:b8f68233b8dc5a009396141fba6e47867e70f342) from the 7.4 bibisect repository in my Windows VM, the first 200-300 records went pretty fast, but then it slowed down significantly. After 20 minutes, it was at 775 out of 1000, advancing by 1 every few seconds. (I didn't wait until the end.) ## Expected behavior Mail merge should be reasonably fast, as used to be the case earlier. With commit 77d0c49a8b9ee59493696438d51cff11e107c3b2 (source sha:42448f48bb48a13d6618a181b12840db6d85c574) of the bibisect repository, the dialog asking where to save the file appeared after ~1.5 min. ## Additional information Initially observed with mail merge from the WollMux extension [1] in a 6.4 based LO version that contains a backport of the fix for tdf#144565. The user reported that it took ~10 min with the original document without the fix for tdf#144565 in place, and 90-100 min afterwards. [1] https://github.com/WollMux/WollMux/ -- You are receiving this mail because: You are the assignee for the bug.