Searching a large dataset is slower as it has been before. I expect it to have the same root cause as bug 108298 (but not 100% sure)
Steps to Reproduce:
1. Open attachment 132016 [details] (bug 106646)
2. Press CTRL+F and search for a random term (for example: zzzz). Take notice of the time required
Search the data set takes more than 100 seconds
Should go in quite a breeze; 6 seconds or so (with LibO22.214.171.124)
User Profile Reset: No
>100 seconds with Version: 126.96.36.199.alpha0+
Build ID: ec79f3453471ee9b6ae32e71ff16ea99d9b7751c
CPU threads: 4; OS: Windows 6.19; UI render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-28_23:21:44
Locale: nl-NL (nl_NL); Calc: CL
55 seconds with: Versie: 188.8.131.52
Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d
32 seconds with Versie: 184.108.40.206
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
but not in:
Versie: 220.127.116.11 (6 seconds)
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
i used the attachment for the test
finding one word it was fast, but finding all the same word, it took 20 min
Build ID: ddf8539d97ce044b7df8d51d6ec72ec864b40fb8
CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: kde4;
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2017-06-04_22:00:43
Locale: nl-BE (en_US.UTF-8); Calc: group
and also with 5.4.0 time 2017-06-04
os Slackware14.2 current x86
Created attachment 134074 [details]
bibisect in 42max
Working on debian-stretch in the bibisect-42max repository, I localize
introduction of the slowness to commit 8e7bade4 source-hash-4c99a427,
which represents 42 commits to master. Fast searches took 5 to 7
seconds, one slow search to 13 minutes,
This is the same range which introduced bug 106646. I am not
concluding that they are duplicates, but a fix to either one is a good
reason to test the other again.
I am removing keyword bibisectRequest and adding bibisected, and
setting see-also 106646.
Created attachment 135449 [details]
Another sample might be related to this bug, search "1634005027" takes ~1min while MS Excel completes almost instantly
Created attachment 135486 [details]
The same test file as attached by Vdragon but in xls format
I tested this file in kubuntu 16.04 running on VirtualBox. I downloaded different version, click to row 1, and use ctrl-F to search the string "2531680038" which is in the last row.
In version 18.104.22.168 it spent 1 second to find, and in version 22.214.171.124beta1 it took 1'37".
It should be a regression in 126.96.36.199.
Is a bisect possible?
Regression introduced in range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=ac84ffb3c90bb5788608eadf2177f587021daaad..4c99a427ee4adaeddb2682c192384bad21d9d09b
Using the attached test files,
In LibreOffice 5.4.4 it took 1'09" to find the term.
CPU 執行緒：4; OS：Linux 4.10; UI 算繪：預設; VCL：gtk2;
語言地區：zh-TW (zh_TW.UTF-8); Calc: group
In LibreOffice 6.1alpha (git master) it took 9" to find the term.
Build ID: a0e136d2cbb3784ddfcbddcfed5d784c8e4c9a64
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3;
Locale: zh-TW (zh_TW.UTF-8); Calc: group threaded
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":
cache cell positions when searching in calc (tdf#108347)
It will be available in 6.3.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
it takes 23 seconds in
Build ID: a3e649c3384d19a5ad540c3d65d5f79b66fd9090
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
while it takes 295 seconds before the commit
@Luboš Luňák, thanks for fixing this issue!!