Bug 136436 - Sanitizing a large document is extremely slow (20 seconds with 4.4.7.2 240 seconds with 7.1)
Summary: Sanitizing a large document is extremely slow (20 seconds with 4.4.7.2 240 se...
Status: RESOLVED DUPLICATE of bug 119286
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-03 14:23 UTC by Telesto
Modified: 2020-09-03 15:06 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file (37.63 KB, application/vnd.oasis.opendocument.text)
2020-09-03 14:23 UTC, Telesto
Details
Bibisect log (4.62 KB, text/plain)
2020-09-03 15:04 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-03 14:23:04 UTC
Description:
Sanitizing a large document is extremely slow (20 seconds with 4.4.7.2 240 seconds with 7.1)

Steps to Reproduce:
1. Open the attached file
2. CTRL+H
3. In the Search for field put ([bcdfghjklmnpqrstvwyz])
4. Check Match Case below the Search for field
5.In the Replace with field put "x"
7. Make sure Whole words only is unchecked
8. Make sure Regular expressions is checked.
9. Click Replace All

Actual Results:
240 seconds

Expected Results:
20 seconds


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.1

and in
Version: 5.2.5.0.0+
Build ID: a4d4fbeb623013f6377b30711ceedb38ea4b49f8
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-2, Time: 2016-12-24_14:43:55
Locale: nl-NL (nl_NL); Calc: group

and in
5.0.6.3

not in
4.4.7.2
Comment 1 Telesto 2020-09-03 14:23:20 UTC
Created attachment 165097 [details]
Example file
Comment 2 Telesto 2020-09-03 15:04:08 UTC
Created attachment 165099 [details]
Bibisect log

Bibisect range
$ git bisect bad bae6d3e6ffdd28bb6cc2b20789d531b3b19b8510 is the first bad commit
commit bae6d3e6ffdd28bb6cc2b20789d531b3b19b8510
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Fri Jun 5 10:13:43 2015 -0500

    source 97b643ac862d0d6d0a305a7fd82fd20dfb3dbf72

    source 97b643ac862d0d6d0a305a7fd82fd20dfb3dbf72
    source d4085dbf35c95cd030bc4b74c7235e90d7c2bff4
    source 3430d2c2b2c4e24b2757015addada9256e399012
    source 564fc483931c0aa2872a33023473c7ac36bfedf1
    source e1b1f9537a299e5cdb4bd824513b41ee903b4bda
    source c922776fdde4801af51ea3840c62f2fa3b8bc552
    source 2dd61975f16c42df4babe59d8f22c652a9d6a7e5
    source 3ebb9a26c26d78c9d1605264503b1d3f276b8729
    source 15a7ae3e8008ef7dbafdcb4b7604cac1fe1f9061
    source eb5850d63acfd3077a4c5c62d45dff48bc6a6137
    source 8d17b7e3a91fee6211b884e2e991a654c56fe8b4
    source 93571a90b3c2e61f3c6ab9c4c42a8ce4f7fd87b2
    source 2d1abfff0156c17cdaabf27c01e92b5e3f0bbbf4
    source 697d49cbb43c7d12bb88ba4f67dafe069cb1c5bd
    source 7a7f73cebcd84a03a5db85d3b423b65c897651f4
    source bdc1824ea7acfa2fe9d71cdbe57882acce155577
    source b97fb340b23e1b6a48c5c95c8d42e9f10ece1748
    source 0549f250aac361075287d8acae9b7ee73c66256d
    source 1349491d48a2f8a130f1b8b840383d31e7927252
    source 0da6ba6d3ccf736ba10bb98ca9b955736a83c5a4
    source 4f0ee1e0514c29a11eb74fd8fa29f594032d1660
    source b717bda1f6484905aebc571c4538165a1fbfd2bb
    source 9c9db85643866ea57757a532d232e05a88de5fb8
    source bbefb58c13f470cdf4e5d0d7d81c7ce95536a6a0
    source b46e0d5dcef20118028a0b4bbd3afb75492d9ec0
    source 3828a18f5f4134daea616121b6df5f06b463e3bb
Comment 3 Telesto 2020-09-03 15:06:47 UTC

*** This bug has been marked as a duplicate of bug 119286 ***