On May 23, 2:04 am, Ashu gupta <[email protected]> wrote:

>             client = getFreeClient();

  What is getFreeClient()?  That feels like it'd be complicated.  Have
you tried this test with just a plain client being reused for every
iteration?

  (yes, I realize it's not actually being timed itself, but depending
on what it does, it could easily have a large effect on the timing)

>             long startTime = 0;
>             long deliverTime = 0;
>             if (client != null) {
>                 startTime = Calendar.getInstance().getTimeInMillis();

  Isn't this an exceedingly slow way to call
System.currentTimeMillis() ?

Reply via email to