[Libreoffice-bugs] [Bug 100442] File with many images takes a long time to open and save

2022-06-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Buovjaga  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 100442] File with many images takes a long time to open and save

2022-06-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #29 from Denis K  ---
Yes, you can close it, I don't mind

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 100442] File with many images takes a long time to open and save

2022-06-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #28 from Roman Kuznetsov <79045_79...@mail.ru> ---
Ilmari, Xisco, may be we should close this report about perf problem that is
gone and open some new one report about missed images in the XLSX file?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 100442] File with many images takes a long time to open and save

2021-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 CC||79045_79...@mail.ru

--- Comment #27 from Roman Kuznetsov <79045_79...@mail.ru> ---
Opening process takes only 11 sec in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2934472ab888ebfe64a153984af2902fac63a7a0
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default;
VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

but I don't see many images started from 2042 row

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 100442] File with many images takes a long time to open and save

2020-05-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Telesto  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=10
   ||8537

-- 
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 100442] File with many images takes a long time to open and save

2020-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Telesto  changed:

   What|Removed |Added

Version|5.1.3.2 release |4.4.0.3 release

-- 
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 100442] File with many images takes a long time to open and save

2020-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Telesto  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||3463

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #26 from Buovjaga  ---
Created attachment 150883
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150883&action=edit
Perf flamegraph of saving

Saving is actually pretty quick

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #25 from Buovjaga  ---
Created attachment 150882
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150882&action=edit
Perf flamegraph of opening

Used exit post startup. Normally the CPU keeps being hammered after opening.

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 100442] File with many images takes a long time to open and save

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

--- Comment #24 from Buovjaga  ---
Created attachment 150881
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150881&action=edit
Problematic XLSX

Let's attach the file, 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 100442] File with many images takes a long time to open and save

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

Telesto  changed:

   What|Removed |Added

 CC||qui...@gmail.com

--- Comment #22 from Telesto  ---
CCing Tomaž Vajngerl
I thought, you might be interested.

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #21 from Telesto  ---
Repro with
Version: 6.1.0.0.alpha0+
Build ID: 2325f9ac789cd12e5ecc9d239baf2558e1d678bb
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-04-04_23:26:22
Locale: nl-NL (nl_NL); Calc: CL

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #20 from Telesto  ---
*** Bug 108537 has been marked as a duplicate of this bug. ***

-- 
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 100442] File with many images takes a long time to open and save

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

Telesto  changed:

   What|Removed |Added

 CC||zolnaitamas2...@gmail.com

--- Comment #19 from Telesto  ---
Adding CC to Tamas Zolnai

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #18 from Telesto  ---
(In reply to XTR from comment #16)
> And BTW, where is graphic cache memory settings in LO 6.0.0.0?  Is it
> automatic now?

FYI: Setting can still be changed in the Expert Configuration 
/org.openoffice.Office.Common/Cache/GraphibManager/TotalCacheSize
/org.openoffice.Office.Common/Cache/GraphibManager/ObjectCacheSize
/org.openoffice.Office.Common/Cache/GraphibManager/ObjectReleaseTime
/org.openoffice.Office.Common/Cache/DrawingEngine/OLE_Objects
and this setting seems to depend on latter:
/org.openoffice.Office.Common/Cache/Writer/OLE_Objects

See bug 110448

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #17 from Buovjaga  ---
(In reply to XTR from comment #16)
> And BTW, where is graphic cache memory settings in LO 6.0.0.0?  Is it
> automatic now?

It was removed. It is not automatic, but the setting was raised.

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #16 from XTR  ---
And BTW, where is graphic cache memory settings in LO 6.0.0.0?  Is it automatic
now?

-- 
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 100442] File with many images takes a long time to open and save

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

XTR  changed:

   What|Removed |Added

 CC||x...@bk.ru

--- Comment #15 from XTR  ---
Bug Still here
Version: 6.0.0.0.beta1 (x64)
Build ID: 97471ab4eb4db4c487195658631696bb3238656c
CPU threads: 4; OS: Windows 6.1; UI render: default; 
Locale: ru-RU (ru_RU); Calc: CL


slow opening because libreoffice makes temporary file for each graphic object
in document in user's temp dir,  
MS Excel doing nothing like this - much better performance
Needs major remake document with images loading!

and yes there is some problem with graphic cache management, like Michael Meeks
says in ImplCheckSizeOfSwappedInGraphics,  has somebody make test without
if(pObj->GetSizeBytes() >= (16 * 1024)) ?

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #14 from Telesto  ---
Created attachment 137409
  --> https://bugs.documentfoundation.org/attachment.cgi?id=137409&action=edit
Bibisect log

Bisect to:

author  Zolnai Tamás2014-11-07 15:53:47
(GMT)
committer   Zolnai Tamás2014-11-07
15:54:58 (GMT)
commit  5771bde234ec65d79501d5eab938e06dfe43e232 (patch)
treee2855ef4f3bc1ddbeaa418ee8107c2e91eab742d
parent  673f3dfc3cc4190a01001280330ff0b63cd1cc7f (diff)
Try to fix ambiguity error
Change-Id: I93cf7497e52d065d00f762f61f79a4e8f8609bfc

-- 
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 100442] File with many images takes a long time to open and save

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

Telesto  changed:

   What|Removed |Added

   Keywords||bibisected, bisected,
   ||regression

-- 
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 100442] File with many images takes a long time to open and save

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

Telesto  changed:

   What|Removed |Added

 CC||tele...@surfxs.nl

--- Comment #13 from Telesto  ---
Extreme slow opening with:
Version: 6.0.0.0.alpha1+
Build ID: 13c5dd1d98a480cb01ca8f24242c80e326e4ade8
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-10-30_23:52:07
Locale: nl-NL (nl_NL); Calc: CL

Images didn't show up at all (or I didn't wait long enough)

Working fine with:
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

-- 
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 100442] File with many images takes a long time to open and save

2017-04-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #12 from Denis K  ---
And the same time in version 5.2.6.2

Версия: 5.2.6.2 (x64)
ID сборки: a3100ed2409ebf1c212f5048fbe377c281438fdc
Потоков ЦП: 4; Версия ОС: Windows 6.29; Отрисовка ИП: по умолчанию; 
Локаль: ru-RU (ru_RU); Calc: single

-- 
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 100442] File with many images takes a long time to open and save

2017-04-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #11 from Denis K  ---
Opening this file takes about 3 minutes in version 5.3.2.2.

Версия: 5.3.2.2 (x64)
ID сборки: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
Потоков ЦП: 4; Версия ОС: Windows 6.29; Отрисовка ИП: по умолчанию; Способ
разметки: новый; 
Локаль: ru-RU (ru_RU); Calc: single

-- 
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 100442] File with many images takes a long time to open and save

2017-04-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Xisco Faulí  changed:

   What|Removed |Added

 CC||xiscofa...@libreoffice.org

--- Comment #10 from Xisco Faulí  ---
(In reply to Denis K from comment #9)
> Nothing changed. The file opens too long.
> 
> Версия: 5.3.0.3 (x64)
> ID сборки: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
> Потоков ЦП: 4; Версия ОС: Windows 6.29; Отрисовка ИП: по умолчанию; Способ
> разметки: новый; 
> Локаль: ru-RU (ru_RU); Calc: single

How long it takes to open the document in your computer? How long it takes in a
previous version of LibreOffice?

-- 
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 100442] File with many images takes a long time to open and save

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

--- Comment #9 from Denis K  ---

Nothing changed. The file opens too long.

Версия: 5.3.0.3 (x64)
ID сборки: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
Потоков ЦП: 4; Версия ОС: Windows 6.29; Отрисовка ИП: по умолчанию; Способ
разметки: новый; 
Локаль: ru-RU (ru_RU); Calc: single

-- 
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 100442] File with many images takes a long time to open and save

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

Volga  changed:

   What|Removed |Added

 Blocks||105584


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105584
[Bug 105584] [META] Calc image bugs and enhancements
-- 
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 100442] File with many images takes a long time to open and save

2016-11-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #8 from Denis K  ---
Bug is present.

Версия: 5.3.0.0.alpha1
ID сборки: f4ca1573fcf445164c068c1046ab5d084e1b005f
Потоков ЦП: 2; Версия ОС: Windows 6.1; Отрисовка ИП: по умолчанию; 
Локаль: ru-RU (ru_RU); Calc: CL

-- 
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 100442] File with many images takes a long time to open and save

2016-09-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #7 from Commit Notification 
 ---
Aron Budea committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fdc867a4bc6ac2810732af898c620a889cde725c

tdf#100442 use unordered_set for GraphicManager's maObjList

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
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 100442] File with many images takes a long time to open and save

2016-09-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:5.3.0

-- 
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 100442] File with many images takes a long time to open and save

2016-06-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #6 from Michael Meeks  ---
The hang on load I got is here:

#5  0x7fdaa8db73dd in
GraphicManager::ImplCheckSizeOfSwappedInGraphics(GraphicObject const*)
(this=0x2017da0, pGraphicToIgnore=0xb121d80) at
/data/opt/libreoffice/master/svtools/source/graphic/grfmgr2.cxx:217
#6  0x7fdaa8daeef3 in GraphicObject::ImplAfterDataChange() (this=0xb121d80)
at /data/opt/libreoffice/master/svtools/source/graphic/grfmgr.cxx:71
#7  0x7fdaa8daf94a in GraphicObject::ImplAssignGraphicData()
(this=0xb121d80) at
/data/opt/libreoffice/master/svtools/source/graphic/grfmgr.cxx:167
#8  0x7fdaa8db1dc9 in GraphicObject::SetGraphic(Graphic const&,
GraphicObject const*) (this=0xb121d80, rGraphic=..., pCopyObj=0x0) at
/data/opt/libreoffice/master/svtools/source/graphic/grfmgr.cxx:698
#9  0x7fdaa99b11e5 in SdrGrafObj::NbcSetGraphic(Graphic const&)
(this=0xb121930, rGrf=...) at
/data/opt/libreoffice/master/svx/source/svdraw/svdograf.cxx:456
#10 0x7fdaa99b1281 in SdrGrafObj::SetGraphic(Graphic const&)
(this=0xb121930, rGrf=...) at
/data/opt/libreoffice/master/svx/source/svdraw/svdograf.cxx:466
#11 0x7fdaa9b82c25 in SvxGraphicObject::setPropertyValueImpl(rtl::OUString
const&, SfxItemPropertySimpleEntry const*, com::sun::star::uno::Any const&)
(this=0x7fda53e2e708, rName="Graphic", pProperty=0x2aa7190,
rValue=uno::Any("com.sun.star.graphic.XGraphic":
{ = {_vptr.XInterface = 0x7fda5250f170}, })) at
/data/opt/libreoffice/master/svx/source/unodraw/unoshap2.cxx:1535

So far we have this many images:

(gdb) p maObjList
$1 = std::__debug::vector of length 4511, 

so some 16 million in the N^2 - should be ~instant - modulo the horribly slow
debugging iterators (but Denis shouldn't see those in a release build).

(gdb) p pObj->GetSizeBytes()
$2 = 32400
(gdb) p mnUsedSize
$3 = 92467620
(gdb) p nMaxCacheSize
$4 = 6711

Which is interesting ... on that basis increasing the graphics cache size to
something much larger might significantly help as a workaround - but is no real
fix, obviously.

-- 
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 100442] File with many images takes a long time to open and save

2016-06-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Michael Meeks  changed:

   What|Removed |Added

 Blocks||47148

--- Comment #5 from Michael Meeks  ---
Interestingly the GraphicManager:

for(sal_uInt32 a(0); mnUsedSize >= nMaxCacheSize && a <
aCandidates.size(); a++)
{
// swap out until we have no more or the goal to use less than
nMaxCacheSize
// is reached
GraphicObject* pObj = aCandidates[a];
if( pObj == pGraphicToIgnore )
{
continue;
}
if (std::find(maObjList.begin(), maObjList.end(), pObj) ==
maObjList.end())
{
// object has been deleted when swapping out another one
continue;
}

// do not swap out when we have less than 16KB data objects
if(pObj->GetSizeBytes() >= (16 * 1024))
{
pObj->FireSwapOutRequest();
}

Looks like it could (potentially) loop infinitely - if we blew the cache size
with lots of small (ie. less than 16k) images ...

I wonder if this is what happens in this case (?).

Of course there is a nice N^2 in the loop there with the std::find and the
iteration - but can we -really- have -that- many images ? =)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=47148
[Bug 47148] image caching / management is utterly shambolic
-- 
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 100442] File with many images takes a long time to open and save

2016-06-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #4 from Michael Meeks  ---
A very odd trace; the 'lots of images' thing is pretty clear though in the
kcachegrind trace. We spend a huge chunk of our time doing odd graphics things.
Much of the time seems to be spent in:

GraphicManager::CheckSizeOfSwappedInGraphics(GraphicObject const*)

And worse -acutally- inside that method ;-) rather than in its callees - 1
trillion pcycles or so (wow)

-- 
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 100442] File with many images takes a long time to open and save

2016-06-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Buovjaga  changed:

   What|Removed |Added

   Keywords||haveBacktrace
   Severity|normal  |major

-- 
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 100442] File with many images takes a long time to open and save

2016-06-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #3 from Buovjaga  ---
Created attachment 125722
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125722&action=edit
Callgrind with 5.3

Got a callgrind trace.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: c13f60e7cd18df6b0ab70289f5b91ee01e4ae126
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 18th 2016

-- 
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 100442] File with many images takes a long time to open and save

2016-06-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

--- Comment #2 from Denis K  ---
Yes, on less powerful processors such as Pentium or Celeron is impossible to
work with this 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 100442] File with many images takes a long time to open and save

2016-06-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100442

Buovjaga  changed:

   What|Removed |Added

   Keywords||perf
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
Summary|Calc: slowly opens/saves|File with many images takes
   |file with many images   |a long time to open and
   ||save
 Ever confirmed|0   |1
 OS|Windows (All)   |All

--- Comment #1 from Buovjaga  ---
For me, it opened in under a minute, but I have a fast 6th generation Intel
CPU.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: d2106d8c8c1af64924f5423223388dbbe99af352
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 16th 2016

-- 
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