-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writer performance with lots of users #6511
Comments
|
related commit: commit 522bde9470bbb321813fa5f1ca8e3c2ebb1bb5cc https://cgit.freedesktop.org/libreoffice/core/commit/?id=522bde9470bbb321813fa5f1ca8e3c2ebb1bb5cc have to check why we start that timer very often |
|
patch trying to cache our style preview renders: https://gerrit.libreoffice.org/c/core/+/152556 |
This comment was marked as outdated.
This comment was marked as outdated.
|
Weirdly that trace spends lots of time in 'load' which seems very unexpected for a plain text document with next to nothing in it ;-) In fact the trace above is for a completely un-related process not doing editing (it seems). |
|
And a better trace - with a few users editing minutes etc, in a debugging build etc. etc. we really need to profile a proper release build on a demo server I think |
|
Curious - reading the profile more - it seems we spend quite a lot of time sending entirely new keyframes to the client, and not building/sending the (much smaller) deltas; which is rather curious. It would be useful to look at the tripple-click help accounting in each tile for which tiles are getting new keyframes instead of deltas: there should be counts in each. Screenshot appreciated @timar =) |
|
https://gerrit.libreoffice.org/c/core/+/152719 is an idea for the OutputDevice::DrawTransparent issue which might work out |
|
Update of a simulated multi-user join with the newly shrunk removeCallbackDuplicate, but I still see some style preview generation which is annoying. Interacting with the 1st session while the others join seems to be able to trigger the notebookbar to be destroyed and replaced (tdf#155720) which clears that style preview cache. https://gerrit.libreoffice.org/c/core/+/152720 to workaround that and #6547 to elide a few more std::strings ctors |
|
Nice work =) |
due to oddities related to tdf155720 the notebookbar the cache is hooked to can be torn down and replaced if the 1st session is interacted with while multiple other users join. So count goes to 0 just at the wrong time to trigger throwing away the cache and forcing regeneration. An Idle doesn't suffice here. https: //github.com/CollaboraOnline/online/issues/6511 Change-Id: I148c99115fc497e34bf8920b6f59adc47605b8a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152663 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
due to oddities related to tdf155720 the notebookbar the cache is hooked to can be torn down and replaced if the 1st session is interacted with while multiple other users join. So count goes to 0 just at the wrong time to trigger throwing away the cache and forcing regeneration. An Idle doesn't suffice here. https: //github.com/CollaboraOnline/online/issues/6511 Change-Id: I148c99115fc497e34bf8920b6f59adc47605b8a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152720 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
|
Oooh - save performance is dominated by the thumbnail generate; and yet - that could easily run safely in another thread while the rest of the real save is going on - surely ? =) |
|
Seems like we fixed the lots-of-joiners problem; and the style preview bits - and also killed the big invalidations on new users joining - which is great =) |

Seems we get some performance problems - with new users joining (perhaps).
perf.txt
Seems there are a number of issues here: rendering styles, compressing bitmaps and so on.
The text was updated successfully, but these errors were encountered: