Issue 97749 - performance: meta-sdr-object for charts - shape creation for big symbol charts is too slow
Summary: performance: meta-sdr-object for charts - shape creation for big symbol chart...
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: performance
: 90561 (view as issue list)
Depends on:
Blocks: 97722
  Show dependency tree
Reported: 2009-01-04 15:33 UTC by Rainer Bielefeld
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2009-01-04 15:33:11 UTC
This report is a spin off from Issue 97722. Pls. use sample documents from Issue
97722 to reproduce the problem and read introduction there.

Steps to reproduce:
0. open WIN Task Manager so that you can see processor load
1. Open "Problems.ods" with sheet "Diagramm1"
2. doubleclick white chart area below legend to open "chart mode"
   It seems that redraw action takes much time (20 seconds).
3. Right click / Context menu "Data Ranges"
   Modify from "$Auswertung1.$A$1:$N$1600" in Data Range pane to 
   "$Auswertung1.$A$1:$N$1599" and press <ok>
   Expected: Chart should be redrawn within few seconds
   Actual: Takes more than 30 seconds

11. No open "Bigproblems.ods" with sheet "Diagramm1" and redo from "2."  
    - hope you don't need OOo for anything else next week ;-)
Comment 1 Rainer Bielefeld 2009-01-04 15:34:16 UTC
This might be related to (or even a DUP of) Issue 97722
Comment 2 kla 2009-01-06 09:57:00 UTC
See comments in i97722
Comment 3 IngridvdM 2009-05-20 08:45:37 UTC
@aw, this is a symbol chart with 8 * 1600 symbol shapes. The creation of those
shapes is what takes very long in this case. I think for this example your idea
of a meta-sdr-object could help a lot to reduce the amount of created shapes -
having 8 shapes only (with 1600 transformations each) instead of 12 8000 shapes.
Maybe we can take this issue as the feature task for the meta-sdr-objects. I
changed the summary accordingly.
Comment 4 IngridvdM 2009-05-22 10:11:20 UTC
*** Issue 90561 has been marked as a duplicate of this issue. ***
Comment 5 Armin Le Grand 2009-07-29 14:25:39 UTC
AW: Did some checks. There is still some broadcasting in
SdrObjList::InsertObject and SdrObjList::RemoveObject which can be avoided when
model is locked; but the main part is object creation, property setting
(SfxItemSet copy constructor) and similar. A basic solution would indeed need a
meta-object. Thinking about possible concepts, but removing from AW075 for the
Comment 6 Marcus 2017-05-20 11:27:27 UTC
Reset assigne to the default "".