[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-08-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

nuageb...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #24 from nuageb...@gmail.com ---
Yes: my computer is attached to network printers, and it looks like there is
some unrecoverable issue with its configuration. It makes also some other
operations to be slow.

However when I did try to set the env var, it didn't help to make the .ods
openning any faster.

SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=true libreoffice

Best Regards

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-08-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

Jean-Baptiste Faure jbfa...@libreoffice.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #23 from Jean-Baptiste Faure jbfa...@libreoffice.org ---
I think the important information here is KDE.
Is your computer connected to a network printer? In such a case please try to
launch LO with the following environment variable set:

export SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=true

Best regards. JBF

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #14 from nuageb...@gmail.com ---
Just a bit later, and now the bug is back.
Here is the callgrind result:

$ valgrind --tool=callgrind /usr/bin/libreoffice
==4837== Callgrind, a call-graph generating cache profiler
==4837== Copyright (C) 2002-2013, and GNU GPL'd, by Josef Weidendorfer et al.
==4837== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==4837== Command: /usr/bin/libreoffice
==4837== 
==4837== For interactive control, run 'callgrind_control -h'.
==4838== 
==4838== Events: Ir
==4838== Collected : 365639
==4838== 
==4838== I   refs:  365,639
==4841== 
==4841== Events: Ir
==4841== Collected : 413166
==4841== 
==4841== I   refs:  413,166
==4845== 
==4845== Events: Ir
==4845== Collected : 437732
==4845== 
==4845== I   refs:  437,732
==4846== 
==4846== Events: Ir
==4846== Collected : 664285
==4846== 
==4846== I   refs:  664,285

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #19 from nuageb...@gmail.com ---
Created attachment 114146
  -- https://bugs.documentfoundation.org/attachment.cgi?id=114146action=edit
callgrind log file

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

nuageb...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #18 from nuageb...@gmail.com ---
Hoever, strace is way more interresting.
This command will show where it's blocking:
strace /usr/lib/libreoffice/program/soffice.bin

The output is huge. LibreOffice is blocked between first and second log lines:

futex(0x6616f64, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1,
{1426588700, 15528000}, 
) = -1 ETIMEDOUT (Connection timed out)

(See attached document for all context. the bug is then occuring between line
4034 and 4035)

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #13 from nuageb...@gmail.com ---
I have 2 different computer, both with the same base system (Debian Jessie):
- One never have this problem.
- One usually have this problem.
So it's pretty clearly not related to the build, but to the computer state.
Also before the Jessie freeze, I could try many different builds and they all
had the issue.

So yesterday I had the issue, but today I cannot reproduce, as the document do
open fast. I got valgrind ready and I'll post next time I have the issue.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #15 from nuageb...@gmail.com ---
I also did try to run this:

strace /usr/bin/libreoffice

But there is not call at all when I do open a document.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #16 from nuageb...@gmail.com ---
Sorry, I messed up with the binnary to run. Now here are the results:
(but it looks like there is nothing interresing...)


--- callgrind results ---

$ valgrind --tool=callgrind /usr/lib/libreoffice/program/soffice.bin
==5068== Callgrind, a call-graph generating cache profiler
==5068== Copyright (C) 2002-2013, and GNU GPL'd, by Josef Weidendorfer et al.
==5068== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==5068== Command: /usr/lib/libreoffice/program/soffice.bin
==5068== 
==5068== For interactive control, run 'callgrind_control -h'.
==5068== 
==5068== Events: Ir
==5068== Collected : 4338871667
==5068== 
==5068== I   refs:  4,338,871,667


--- cachegrind results ---

$ valgrind --tool=cachegrind /usr/lib/libreoffice/program/soffice.bin
==5114== Cachegrind, a cache and branch-prediction profiler
==5114== Copyright (C) 2002-2013, and GNU GPL'd, by Nicholas Nethercote et al.
==5114== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==5114== Command: /usr/lib/libreoffice/program/soffice.bin
==5114== 
--5114-- warning: L3 cache found, using its data for the LL simulation.
==5114== 
==5114== I   refs:  4,042,935,140
==5114== I1  misses:8,159,065
==5114== LLi misses:  360,653
==5114== I1  miss rate:  0.20%
==5114== LLi miss rate:  0.00%
==5114== 
==5114== D   refs:  1,638,119,052  (1,124,768,119 rd   + 513,350,933 wr)
==5114== D1  misses:   45,444,108  (   41,948,841 rd   +   3,495,267 wr)
==5114== LLd misses:4,487,738  (2,882,964 rd   +   1,604,774 wr)
==5114== D1  miss rate:   2.7% (  3.7% + 0.6%  )
==5114== LLd miss rate:   0.2% (  0.2% + 0.3%  )
==5114== 
==5114== LL refs:  53,603,173  (   50,107,906 rd   +   3,495,267 wr)
==5114== LL misses: 4,848,391  (3,243,617 rd   +   1,604,774 wr)
==5114== LL miss rate:0.0% (  0.0% + 0.3%

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #17 from nuageb...@gmail.com ---
Created attachment 114145
  -- https://bugs.documentfoundation.org/attachment.cgi?id=114145action=edit
strace logs of the bug

Bug (huge lag) is between line 4034 et 4035.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #20 from nuageb...@gmail.com ---
Created attachment 114147
  -- https://bugs.documentfoundation.org/attachment.cgi?id=114147action=edit
cachegrind log file

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #21 from nuageb...@gmail.com ---
Created attachment 114148
  -- https://bugs.documentfoundation.org/attachment.cgi?id=114148action=edit
'callgrind_control -e -b' result

This was the result of this command executed in the meantime of the opening
lag:
(It was executed when LibreOffice was hang at the opening of the ods file)

callgrind_control -e -b

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2015-03-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79674

--- Comment #22 from nuageb...@gmail.com ---
Please also see the latest attached files:
1) callgrind_log_file
   With 'callgrind_control -e -b result', which could help
   tracking the issue as it displays a few stacktraces.
2) cachegrind_log_file
   I'm not sure how this can help much, but as it's requested, here you are.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

Robinson Tryon (qubit) qu...@runcibility.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1
 Whiteboard||perf

--- Comment #12 from Robinson Tryon (qubit) qu...@runcibility.com ---
(In reply to NuageBleu from comment #11)
 1) On Debian Jessie, LibreOffice version:
 Version: 4.3.3.2
 Build ID: 430m0(Build:2)
 Issue is *present*: just saving an empty .ods file takes 5-6[s] to open.
 Also I just did try with both java6 and java7 (both openjdk).

TESTING with LO 4.4.0.1 + Ubuntu 14.04
Saving empty ODS: 2 sec

Opening that ODS:  1 sec
(I closed and reopened LibreOffice, too)

 
 It would be awesome to have some profiling, is anything possible?

Tools like Call-/Cachegrind can be helpful here
https://wiki.documentfoundation.org/callgrind

Of course, we have to reproduce the bug before we can run such tools ourselves.
What happens when you test TDF-provided builds? Do you see the same behavior as
with Debian-provided builds?

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-11-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

nuageb...@gmail.com changed:

   What|Removed |Added

   Priority|low |medium

--- Comment #11 from nuageb...@gmail.com ---
Testing again today.
Also updating priority as Jessie is getting its freeze.


1) On Debian Jessie, LibreOffice version:
Version: 4.3.3.2
Build ID: 430m0(Build:2)
Issue is *present*: just saving an empty .ods file takes 5-6[s] to open.
Also I just did try with both java6 and java7 (both openjdk).


2) On Ubuntu, LibreOffice version: (in a VM)
Version: 4.2.7.2
Build ID: 420m0(Build:2)
The issue is *not* present on this system, (so confirming last post and testing
method).


It would be awesome to have some profiling, is anything possible?

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

Beluga todven...@suomi24.fi changed:

   What|Removed |Added

   Priority|medium  |low
 CC||todven...@suomi24.fi
   Severity|normal  |trivial

--- Comment #10 from Beluga todven...@suomi24.fi ---
I can't reproduce on a VM, my system is about 1/3 as powerful as yours. An
empty saved .ods opens instantly.

Ubuntu 14.10 64-bit Version: 4.4.0.0.alpha2+
Build ID: a55adb16ece70360c88342ca008d5a9d5b9d5b52
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time:
2014-11-18_22:04:40

and

Version: 4.3.3.2
Build ID: 430m0(Build:2)

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

nuageb...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #8 from nuageb...@gmail.com ---
As I said the hardware is fast:
- Intel Core i7-4750HQ CPU
- SSD 480GB (Crucial M500)
- 16 GiB RAM
And I double checked the test by saving files in /tmp, which is configured to
use tmpfs, so it's using RAM.

Since Debian Testing is updating things all the time, my current version of
LibreOffice is : Version: 4.2.4.2

Some more information:
I also use a VM with kubutu, which uses an other version of LibreOffice
(Version: 4.2.3.3), which doesn't have this issue. So it cannot be the
hardware.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

--- Comment #9 from nuageb...@gmail.com ---
More information:
Debian just updated the LibreOffice packages, so the new version I'm testing
is:

Version: 4.2.5.2
Build ID: 420m0(Build:2)

Which *still* have the same problem.

So I Test again with small documents:
.ods  : 5[s]
.odt  : instant
.odp  : instant
.xlsx : instant if saved by LibreOffice, and 5[s] for another document

I hope this can help to track down the bug!

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

Firas Hanife firashan...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||firashan...@gmail.com
 Ever confirmed|0   |1

--- Comment #6 from Firas Hanife firashan...@gmail.com ---
Hi NaugeBleu,
could you please tell us which hardware are you using? Performance most times
depends on it. I mean I use an ssd and don't have any delay...

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

--- Comment #7 from Firas Hanife firashan...@gmail.com ---
Sorry for the name typo ;)

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

nuageb...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #4 from nuageb...@gmail.com ---
I used blank document to refer to opening an empty saved document. Creating a
new document (ctrl-n) is instant.

Procedure for .ods
1) Start LibreOffice
2) Create a new Calc (spreadsheet) document.
3) Save it.
4) Close it.
5) Open it. (work both trough KDE or the LibreOffice Open-menu).
6) I used my hand watch to count 5-6[s] before the document to be actually
open.

Right now I have these speeds:
.ods  : 5-6[s]
.odt  : instant (so it's unstable, last time I measured it did hit 5[s])
.odp  : instant
.xlsx : instant

Also I just did try with java7 (my default) and java6, both with the same
results.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

--- Comment #5 from nuageb...@gmail.com ---
Sorry that I didn't took time to read about LibreOffice developers, and how to
contribute, but I have the java dev stack installed, so let me know it I can
try something more technical.
Best regards

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

Jean-Baptiste Faure jbf.fa...@sud-ouest.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||jbf.fa...@sud-ouest.org
 Ever confirmed|0   |1

--- Comment #3 from Jean-Baptiste Faure jbf.fa...@sud-ouest.org ---
What do you mean by blank document? A new empty document or an existing empty
document ?

Please, could you describe step by step how do you proceed to compare times to
open the files?

Set status to NEEDINFO, please set it back to UNCONFIRMED when you will have
provided the requested informations.

Thank you for your understanding.
Best regards. JBF

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

--- Comment #1 from nuageb...@gmail.com ---
I'd like to add that opening various .odt documents is again slow.
It looks like there is a dead 5[s], since when I open a document it waits
It is any instructions to provide a profiling?

There is no windows opening in these 5[s], no progress bar. When the progress
bar is shown, it's very fast. I'm not using big documents.

It may be related to the windows manager, I'm currently using KDE 4.13.1.
This issue is only happening with LibreOffice tough.

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


[Libreoffice-bugs] [Bug 79674] Opening ods file is slow (empty/bank or not), xlsx file is fast

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79674

--- Comment #2 from nuageb...@gmail.com ---
To be more precise, here is the current situation for any small file:

.ods  : 5[s]
.odt  : 5[s]
.ddp  : instant
.xlsx : instant

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