[Libreoffice-bugs] [Bug 97177] FILEOPEN: Document with huge autofilter takes long to open

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 22 11:59:36 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=97177

--- Comment #33 from Julien Nabet <serval2412 at yahoo.fr> ---
Created attachment 162304
  --> https://bugs.documentfoundation.org/attachment.cgi?id=162304&action=edit
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated
today (after
https://cgit.freedesktop.org/libreoffice/core/commit/?id=aabcf90da9a90240bddc140485f210dcab66724c:
"tdf#97177 speedup loading of large ODS file
drop ScSimpleRangeList and just use ScRangeList, which saves us a
conversion step.

Then teach ScRangeList to do a simple merge, since we are loading in row
order, and can just check the last few entries.

Then fix a case of optimisation doing the wrong thing in
ScAttrArray::SetPatternAreaImpl where std::vector::reserve repeatedly
resizes the data array and breaks the normal doubling-resizing inside
vector.

On my machine the time goes from 5.4s to 4.8s")

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200622/6fde0262/attachment.htm>


More information about the Libreoffice-bugs mailing list