Hi,

as I was saying in the original post, in rare cases the tree degenerates to a 
plain
list - i.e a tree with one (hidden) root node and up to 5000 children that are 
rendered
at the same time. Please do not ask me, why our customer would want that - it 
is how
it is for the time being ;-)

J.


On 16.02.2012 21:13, Igor Vaynberg wrote:
why is your tree rendering all the nodes ahead of time? shouldnt it
render them lazily as they are expanded?

-igor

On Thu, Feb 16, 2012 at 10:50 AM, Jürgen Lind<juergen.l...@iteratec.de>  wrote:
Hi there,

I am currently encountering a problem that I don't know how to attack... We
have
developed an application that uses the Tree-Component to show hierarchical
data
to the user. In some cases, the tree degenerates to a plain list that can be
quite
large. Now, if the list has around 1000 entries, the rendering phase for the
tree
takes approx. 1 second, which seems to be ok. For 2500 entries, the
rendering time
goes up to around 11 seconds and with 5000 entries, we're looking at approx.
30
seconds.

Now, I would like to find out, which part of the component tree causes these
huge
numbers, but I have run out of ideas on how to track down these numbers. The
last
point I was able to measure was between onBeforeRender and onAfterRender of
my
subclassed LabelTree component.

Any suggestions on how to instrument my application without building a
custom wicket
package?

Kind Regards,

J.

--
Dr. Jürgen Lind
iteratec GmbH                Fon: +49 (0)89 614551-44
Inselkammerstrasse 4         Fax: +49 (0)89 614551-10
82008 Unterhaching           Web: www.iteratec.de

Sitz und Registergericht der iteratec GmbH: München HRB 113 519
Geschäftsführer: Klaus Eberhardt, Mark Goerke, Inge Hanschke, Ralf Menzel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Mit freundlichen Grüßen,

Jürgen Lind

--
Dr. Jürgen Lind
iteratec GmbH                Fon: +49 (0)89 614551-44
Inselkammerstrasse 4         Fax: +49 (0)89 614551-10
82008 Unterhaching           Web: www.iteratec.de

Sitz und Registergericht der iteratec GmbH: München HRB 113 519
Geschäftsführer: Klaus Eberhardt, Mark Goerke, Inge Hanschke, Ralf Menzel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to