Summary: | Search and Replace can grind to a halt on large documents for certain strings | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Oldbwl <dan> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | erack, michael.meeks, michael.stahl, philipz85, robinson.libreoffice |
Priority: | medium | Keywords: | bibisectRequest, perf, regression |
Version: | 4.4.0.1 rc | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: |
Description
Oldbwl
2014-12-31 14:06:29 UTC
Running the same process in the latest OpenOfiice (4.1) shows that the Search and Replace completes very effectively. Hi Oldbwl, Thank you for reporting the bug. Is it possible for you to supply us with a sample document so we can run tests on it to determine where the problem arises. Documents sent by email to Jay Philips Thanks Oldbwl for the document. The problem seems to have arisen starting in the 4.1 branch. Performance Tests :- 4.0.6 : 2 secs 4.4.0 : > 5 minutes (canceled when it reached there) Version: 4.4.0.1.0+ Build ID: 4774b2f0e6a0e895d1e63256147eaff59efd0eda TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:libreoffice-4-4, Time: 2014-12-29_17:48:44 Hmm, search & replace over a few hundred pages (how many cells and with what content ?) - should be quick. Then again, an ICU upgrade seems to have been behind a lot of slow-downs in recent LibreOffice/calc bits. It'd be really nice to have either a document that displays this problem; or a series of simple instructions to build a document that reproduces this. Also - Eike is rather an expert in ICU-ness and calc, so CC'ing him =) Thanks ! (In reply to Michael Meeks from comment #5) > Hmm, search & replace over a few hundred pages (how many cells and with what > content ?) - should be quick. Then again, an ICU upgrade seems to have been > behind a lot of slow-downs in recent LibreOffice/calc bits. The supplied document is an rtf with 181 pages loaded in Writer, which the search replaced 2011 instances of regexp '$' with 'Z2Z'. > It'd be really nice to have either a document that displays this problem; or > a series of simple instructions to build a document that reproduces this. > Also - Eike is rather an expert in ICU-ness and calc, so CC'ing him =) The document has a novel/story structure, meaning simple paragraph text with quotes when people are speaking. @Oldbwl: Is it okay for me to share the document with the developers for testing? @JayPhillips: As long as it is not published online yes, Almost certainly a duplicate - and 80715 is better isolated to a single commit =) *** This bug has been marked as a duplicate of bug 80715 *** Migrating Whiteboard tags to Keywords: (perf bibisectRequest) [NinjaEdit] |