Description: ODS file with tracking changes enabled is takes 3 times longer to open (compared to without) Steps to Reproduce: 1. Open attachment 151911 [details] (and monitor time to open) 2. Open attachment 150858 [details] (and monitor time to open) Actual Results: 15 seconds for attachment 150858 [details] 45 seconds for attachment 151911 [details] Expected Results: Tracking changes is causing overhead (file size is also larger).. But some optimization would be nice Reproducible: Always User Profile Reset: No Additional Info: Version: 6.4.0.0.alpha0+ (x64) Build ID: 95462a02a3aee1e3e7f9aa8fc50ba25fee3fa592 CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-03_07:09:38 Locale: nl-NL (nl_NL); UI-Language: en-US Calc: CL
Just for the record, while testing this issue I found bug 125691 @Telesto, Didn't you reproduce it in master ?
(In reply to Xisco Faulí from comment #1) > Just for the record, while testing this issue I found bug 125691 > @Telesto, Didn't you reproduce it in master ? Nope, but didn't use the command-line timing. Mostly using the CPU graph & Windows of course...
Tested with 5.0.2 and 3.3.0 on Win 10 and looks like this has always been the case. As it is somewhat expected, let's adjust priority and severity.
Created attachment 155346 [details] Flamegraph Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today.
in Version: 6.4.0.0.alpha1+ Build ID: c4d760b9edf0399955d30a0dfbe5f7b1b1ed37cb CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded attachment 151911 [details] takes real 0m59,042s user 1m18,526s sys 0m6,609s @Noel, I thought you might be interested in this issue...
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ab35d2ded153b0129fed16f9a7e882c8600933e6 tdf#125688 speed up load of change-tracking ODS It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/01a8d79fd76f7e523169c56a22be8ff84d8cd76a tdf#125688, special-case empty return It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f3916075d7c454abfe93e8b487b2f518f80d526c tdf#125688 remove intermediate OUStringBuffer It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0dd56a4a745266dcf88d43150ef1d798619ab522 tdf#125688 avoid OUString construction It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9db70dfdc8d1851415f9d90fc192551178973f43 tdf#125688, deque->vector It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 155419 [details] perf flamegraph Following Noel's commits, I updated master sources (b141e2a3253a44a4ab59889a8a08060a322540e3) and retrieved a new Flamegraph.
(In reply to Xisco Faulí from comment #5) > in > > Version: 6.4.0.0.alpha1+ > Build ID: c4d760b9edf0399955d30a0dfbe5f7b1b1ed37cb > CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; > Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US > Calc: threaded > > attachment 151911 [details] takes > > real 0m59,042s > user 1m18,526s > sys 0m6,609s > > @Noel, I thought you might be interested in this issue... For some reason, the same exact commit takes real 3m10,245s user 4m12,132s sys 0m23,611s today to open the file. Why? who knows... meanwhile, it takes real 2m36,591s user 3m45,850s sys 0m17,595s in Version: 6.4.0.0.alpha1+ Build ID: 2d0a4182712673d8f7a5abe919cd2a1d5ece4a77 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded which is a ~20% improved
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/09758c0e717a9ff31b004532906f902763300a93 tdf#125688, better sizing for some OUStringBuffer It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/885ae558d34dd76955c727b90eb9ae52ce85df7f tdf#125688, cache token names as OUString It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ef0e7e146f86999b04d7274688d72fadcaf53a36 tdf#125688 removing XWeak support from SvXMLImportContext It will be available in 6.4.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
10 sec for attachment 150858 [details] opening 25 sec for attachment 151911 [details] opening Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 9d1d668a608cc5b406601c2f7f3d8581e8f47d1c CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: ru-RU Calc: threaded Telesto, could you please retest it yourself on your PC?
Dear Telesto, 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 https://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://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug