[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2019-04-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Michael Meeks  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |vmik...@collabora.com
   |desktop.org |

--- Comment #24 from Michael Meeks  ---
The zip compression is expensive, although parallelized for a single large
sheet it doesn't work so well. We have a plan to improve that in the next month
or two - perhaps it'll get into 6.3 =) Nice profiling flame-graph though: love
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2019-04-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #23 from Buovjaga  ---
Created attachment 150860
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150860=edit
Perf flamegraph

Decided to investigate filesave perf issues after Noel optimised some stuff.

In this graph, I see large plateaus concerning zipping at the end.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: 1fee3f1da6291bfbcd75455512726215d41b3e83
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 18 April 2019

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2019-04-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #22 from Buovjaga  ---
Created attachment 150858
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150858=edit
Large spreadsheet

Let's attach it so it doesn't get lost

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #21 from Michael Meeks  ---
> I unchecked "Relative" (must correspond to %) + "Cycle detection".

Great =)

> I don't see "absolute cycle counts" or "total", I only got file name +
> "Total Instruction Fetch Cost" in the bottom status bar and I can't
> right click on it.

That's fine.

> I sorted by "Called", the most called is rtl_uString_release (162 582 170)
> but I suppose it could be expected.

Right - when you look at any profile there is a ton of methods like that being
called a very large number of times.

I personally always use the "callee map" - I select the 'main' function on the
left and then see what is going on in the callee map - you can click there to
drill down. 

When you're getting near the bottom (don't try near the top of the stack) the
'call graph' thing can be rather useful. It's all a great way to explore who
calls whom in the code =)

HTH.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #20 from Julien Nabet  ---
(In reply to Michael Meeks from comment #19)
> Hi Julien - thanks for having a go here ! =)
> 
> > I gave a try to kcachegrind but except telling "cycle21" 
> 
> Tip #1 for kcachegrind - turn off cycle detection ;-) the tool lies
> vigorously with that turned on, and the results are often ~meaningless for
> non-trivial cases. I'd also turn off the '%' button and use absolute cycle
> counts everywhere - or it is very easy to loose a sense of proportion =) I'd
> also check all counts vs. the total in the bottom status bar for sanity.
> 
> HTH !

Thank you Michael for your feedback.
I got KCacheGrind 0.8.0 (from Debian testing).
I unchecked "Relative" (must correspond to %) + "Cycle detection".

I don't see "absolute cycle counts" or "total", I only got file name + "Total
Instruction Fetch Cost" in the bottom status bar and I can't right click on it.
I sorted by "Called", the most called is rtl_uString_release (162 582 170) but
I suppose it could be expected.

Must I check "Relative to parent"? Must I use some Grouping?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #19 from Michael Meeks  ---
Hi Julien - thanks for having a go here ! =)

> I gave a try to kcachegrind but except telling "cycle21" 

Tip #1 for kcachegrind - turn off cycle detection ;-) the tool lies vigorously
with that turned on, and the results are often ~meaningless for non-trivial
cases. I'd also turn off the '%' button and use absolute cycle counts
everywhere - or it is very easy to loose a sense of proportion =) I'd also
check all counts vs. the total in the bottom status bar for sanity.

HTH !

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #18 from Julien Nabet  ---
(In reply to Julien Nabet from comment #17)
> (In reply to Buovjaga from comment #16)
> > ...
> > You can ignore the warning, check your folder: it has the file
> > callgrind.out.31264 after you uncompress it with tar -xJf
> > ...
> Oups, you're right, I had missed the file.

I gave a try to kcachegrind but except telling "cycle21" (I don't know what's
this) is the most called part, I don't know how to find bottlenecks.
Every doc I find on the net talks about simple cases with a main and a few
functions.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #17 from Julien Nabet  ---
(In reply to Buovjaga from comment #16)
> ...
> You can ignore the warning, check your folder: it has the file
> callgrind.out.31264 after you uncompress it with tar -xJf
> ...
Oups, you're right, I had missed the file.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #16 from Buovjaga  ---
(In reply to Julien Nabet from comment #15)
> I can't uncompress xz file
> tar -xJf  callgrind-calc.tar.xz
> tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
> 
> xz -d callgrind-calc.tar.xz gives callgrind-calc.tar
> but tar xvf callgrind-calc.tar
> gives
> tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
> 
> Do you use bsdtar?

You can ignore the warning, check your folder: it has the file
callgrind.out.31264 after you uncompress it with tar -xJf

I use KDE's Ark, but I don't have BSD tar on my system. Only GNU tar. I don't
know why Ark makes it like so.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-06-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #15 from Julien Nabet  ---
I can't uncompress xz file
tar -xJf  callgrind-calc.tar.xz
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'

xz -d callgrind-calc.tar.xz gives callgrind-calc.tar
but tar xvf callgrind-calc.tar
gives
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'

Do you use bsdtar?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-05-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Buovjaga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #14 from Buovjaga  ---
Created attachment 142448
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142448=edit
Callgrind output from master

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 78bed16e17f5128d3523413255d95de85c0ebf36
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on May 31st 2018

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2018-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Xisco Faulí  changed:

   What|Removed |Added

   Keywords||bibisectRequest
 CC||xiscofa...@libreoffice.org

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-11-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Telesto  changed:

   What|Removed |Added

   Keywords||regression

--- Comment #13 from Telesto  ---
(In reply to Michael Meeks from comment #4)
> Hi Julien, thanks for the pointer. The referenced patch is for import only,
> not for export ... so I guess we'd want to get a bibisect / bisect to a
> certain patch. Failing that - a callgrind profile of it would really help us
> isolate the issue I think. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #12 from Julien Nabet  ---
(In reply to Michael Meeks from comment #11)
> Hi Julien - if you create an LDAP account you should have access to our
> ownCloud / Nextcloud instance - used for eg. ESC meetings, and can up-load /
> create a public link there.
>...
Do you have a link for the procedure to create an LDAP account? (I found
nothing or missed it on the wiki)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Michael Meeks  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||er...@redhat.com
 Ever confirmed|0   |1

--- Comment #11 from Michael Meeks  ---
Hi Julien - if you create an LDAP account you should have access to our
ownCloud / Nextcloud instance - used for eg. ESC meetings, and can up-load /
create a public link there.

It looks to me strange to have this image scaling thing on the hot path - we do
call that for rendering and scaling the thumbnail we have a the spreadsheet on
save - but ... 10bn pcycles is a -lot- of scaling. Can you find who is calling
that ?

Possibly some changes in how we handle images / areas has caused a problem here
(?)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Julien Nabet  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #10 from Julien Nabet  ---
Caolán: thought you might be interested in this one since it seems LO spends a
lot of time in a specific part of vcl (but perhaps it's expected)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #9 from Julien Nabet  ---
Created attachment 136980
  --> https://bugs.documentfoundation.org/attachment.cgi?id=136980=edit
screenshot of kcachegrind for callgrind.out.3022

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #8 from Julien Nabet  ---
I reduced the file to some lines for retrieving more quickly a callgrind trace.
When following the steps, I got 7 files.
-rw--- 1 julien julien 154041635 oct.  14 21:40 callgrind.out.3022
-rw--- 1 julien julien   8821918 oct.  14 20:27 callgrind.out.3024
-rw--- 1 julien julien  89670788 oct.  14 20:42 callgrind.out.3103
-rw--- 1 julien julien  89834408 oct.  14 20:42 callgrind.out.3105
-rw--- 1 julien julien  89946667 oct.  14 20:42 callgrind.out.3107
-rw--- 1 julien julien  89981772 oct.  14 20:43 callgrind.out.3109
-rw--- 1 julien julien  90270631 oct.  14 20:43 callgrind.out.3112

after tar+bzip2, I got:
76632709 oct.  15 09:49  callgrind.tar.bz2
so it's still too big to be attached.

Any thoughts?

Perhaps it's because I use enable-dbgutil when building (my goal is to have max
traces)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #7 from Julien Nabet  ---
(In reply to Telesto from comment #6)
> The bisect results should be right. I checked it again (but I didn't reverse
> the commit).

Saving concerns export part whereas the quoted patch concerns import part.
(unless the result of import triggers something buggy for export?)

Callgrind trace (quoted by Michael) can be retrieved on Linux by following this
process
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_callgrind_trace
but it may take a lot of time to get it since you test on a large file.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #6 from Telesto  ---
The bisect results should be right. I checked it again (but I didn't reverse
the commit).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #5 from Julien Nabet  ---
(In reply to Michael Meeks from comment #4)
> ...The referenced patch is for import only,
> not for export ...
Argh, should have noticed the filename, thank you for your feedback and sorry
for the noise.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #4 from Michael Meeks  ---
Hi Julien, thanks for the pointer. The referenced patch is for import only, not
for export ... so I guess we'd want to get a bibisect / bisect to a certain
patch. Failing that - a callgrind profile of it would really help us isolate
the issue I think. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

Julien Nabet  changed:

   What|Removed |Added

   Keywords||perf
 CC||azeemmys...@gmail.com,
   ||michael.me...@collabora.com
   ||, serval2...@yahoo.fr

--- Comment #3 from Julien Nabet  ---
Mohammed/Michael: following last Telesto's comment, thought you might be
interested in this one.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #2 from Telesto  ---
author  Mohammed Abdul Azeem 2016-09-05 09:08:30
(GMT)
committer   Michael Meeks  2017-01-25
11:20:48 (GMT)
commit  8154953add163554c00935486a1cf5677cef2609 (patch)
treed8e148e84aa1e164a2358827085f4d9240ce5e31
parent  657eea01046c7f39ee8ca4545241372177385946 (diff)
ScXMLTableRowCellContext implements fast interfaces:
Implementation of fast interfaces for contexts in path from
ScXMLImport::CreateFastContext to ScXMLTableRowCellContext.
FastParser is enabled and duplicates are avoided at all
possible places.
OOoXML filters still need those legacy paths we removed,
so I had to temporarily map them to fast elements, which
would increase their load time, but hopefully it should
help us in the long run.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 113042] FILESAVE: Saving an large calc sheet is slower in LibO5.4 compared to LibO5.3

2017-10-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113042

--- Comment #1 from Telesto  ---
Created attachment 136899
  --> https://bugs.documentfoundation.org/attachment.cgi?id=136899=edit
Bibisect log

Bisected to:

author  Mohammed Abdul Azeem 2016-09-05 09:08:30
(GMT)
committer   Michael Meeks  2017-01-25
11:20:48 (GMT)
commit  8154953add163554c00935486a1cf5677cef2609 (patch)
treed8e148e84aa1e164a2358827085f4d9240ce5e31
parent  657eea01046c7f39ee8ca4545241372177385946 (diff)
ScXMLTableRowCellContext implements fast interfaces:
Implementation of fast interfaces for contexts in path from
ScXMLImport::CreateFastContext to ScXMLTableRowCellContext.
FastParser is enabled and duplicates are avoided at all
possible places.
OOoXML filters still need those legacy paths we removed,
so I had to temporarily map them to fast elements, which
would increase their load ti

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs