logo       

Re: Performance issues using DWR: msg#00187

java.dwr.user

Subject: Re: Performance issues using DWR

Hi,
 
just to be sure that DWR is at stake, can you mesure the execution time of your business code ?
 
For exemple, at the beginning of the called dwr function :
 
long currentTime = (new Date()).getTime();
//business code
System.out.println("BusinessExecutionTime="+((new Date()).getTime()-currentTime)));

So you'll know what time is spent in youre code and by difference you'll know the dwr time.
 
Regards,
Manson Thomas.
 
 
On 2/20/07, Rahav Shalom-Revivo <rrevivo-x6Fv9fcoW1ZBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> wrote:

Hi All,

 

In performance tests we did in our project, we've discovered that some DWR calls are taking a lot of time.

A call to the server, which returned a list containing 4 objects, took 1.5 seconds. We've reproduced it over and over again, and made sure there were no network problems.

Those calls are made to the server. There are no DB calls in the loop.

 

The data in the dwr-version.properties file is as follows:

version: 1.1.1

scc-info: $Id: dwr-version.properties,v 1.30.2.12 2006/04/04 11:15:56 joe_walker Exp $

 

Is this a known problem? (Weak performance with list objects)?

Can you please help me with DWR performance tuning guidelines?

 

Thanks in advance,

Rahav

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
 

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise