You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "steven.li" <st...@skyworthglobal.com> on 2012/08/25 01:40:44 UTC

Wicket Render speed

Hi All

 I have a dataview table, for 50 rows, it takes around 10 seconds to show
the page, and the render part take around 8-9 seconds from debug log,  Any
way to improve this ?

Each row, there are 2 input DateText filed, three labels, 4 checkbox, 2
icons and 2-3 placehoder TD. around 100 characters each row.  Is this a two
heavy row for wicket ? 



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Wicket Render speed

Posted by "steven.li" <st...@skyworthglobal.com>.
Thanks. Found out the root cause by jprofiler.  

It's the model problem, too many times to read database directly in the
model.

Thanks for your help very much !



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651523.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Wicket Render speed

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
http://wicket.apache.org/help/  JProfiler or YourKit  for example.

2012/8/26 steven.li <st...@skyworthglobal.com>:
> what profiler can we use ? I changed to deploy mode, the result is the same .
> If I remove the 4 combo checkbox, it will be much faster.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651505.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

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


Re: Wicket Render speed

Posted by "steven.li" <st...@skyworthglobal.com>.
what profiler can we use ? I changed to deploy mode, the result is the same .
If I remove the 4 combo checkbox, it will be much faster. 



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651505.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Wicket Render speed

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Use a real profiler to see.. also running application in deployment
mode will give you more appropriate results.

**
Martin

2012/8/26 steven.li <st...@skyworthglobal.com>:
> yes. I use loadabledetachable model.  it's the initial time loading takes too
> long time. and from the debug log, it shows most of time are spend on
> "Beging Render"--"Rendered"---"End Render"
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651502.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

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


Re: Wicket Render speed

Posted by "steven.li" <st...@skyworthglobal.com>.
yes. I use loadabledetachable model.  it's the initial time loading takes too
long time. and from the debug log, it shows most of time are spend on
"Beging Render"--"Rendered"---"End Render"



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651502.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Wicket Render speed

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Are you using loadabledetachable models everywhere possible?

**
Martin

2012/8/25 steven.li <st...@skyworthglobal.com>:
> Hi All
>
>  I have a dataview table, for 50 rows, it takes around 10 seconds to show
> the page, and the render part take around 8-9 seconds from debug log,  Any
> way to improve this ?
>
> Each row, there are 2 input DateText filed, three labels, 4 checkbox, 2
> icons and 2-3 placehoder TD. around 100 characters each row.  Is this a two
> heavy row for wicket ?
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

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