https://bugs.documentfoundation.org/show_bug.cgi?id=155349
Bug ID: 155349
Summary: Writer collaborative performance problems in 7.5
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
We got reports that collaborative editing (multiple views, via LOK/Online)
performance is much worse in 7.5, compared to what we had in 7.3.
A first find from Caolan is:
> my bafflement that I see this hit on every keystroke in trunk is explained by
> std::move() and std::optional because std::move on a std::optional do not
> leave behind an "unset std::optional"
> https://stackoverflow.com/questions/51805059/why-does-moving-stdoptional-not-reset-state
>
> std::optional<SwRegionRects> TakePaintRegion() { return
> std::move(m_oPaintRegion); }
>
> from
>
> commit bf09ac2981ea1e6ee9aa1c6c3c94299a8b9ec2de
> Author: Noel Grandin <[email protected]>
> Date: Thu Aug 18 21:00:25 2022 +0200
>
> unique_ptr->optional in SwViewShellImp
>
> where it used to be std::unique_ptr which would be left behind in an empty
> state after the std::move
This bug is document findings related to this perf problem.
--
You are receiving this mail because:
You are the assignee for the bug.