quality@glassfish.java.net

Re: [performance] [pkg vs update tool GUI] response time difference between pkg command and update tool GUI

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Tue, 14 Apr 2009 23:24:25 -0700

Hi Karen,

Again, I really like your eamil question, this kind performance testing
is very helpful. Thanks !

Let me cc your question to update tool developer alias to get help.

Thanks,
Judy

Karen Ho wrote:
>
> Hi,
>
>
>
> I found an interesting scenario when comparing the response time of
> installing / removing components with pkg command and the update tool GUI.
>
>
>
> When I try to install / remove the same set of components (set of 3)
> with both the update tool GUI and the pkg command, the elapsed time
> are similar (based on several trials). However, when I try to
> install / remove a SINGLE component with both the update tool GUI and
> the pkg command, the elapsed time resulting from the pkg command is
> always longer (roughly 3 times longer) than the elapsed time resulting
> from the update tool GUI.
>
>
>
> The way I timed for different actions:
>
> GUI:
>
> - for install: start after accepting the license term
>
> - for remove: start after pressing the "OK" button to confirm the
> removal of the selected component
>
> Pkg:
>
> - for both install and remove: simply time the whole pkg command
> call (i.e. add a time flag before and after the pkg command call)
>
>
>
> I have tested using 2 different single component and recorded at least
> 5 processing time for each of them for both pkg and GUI tool. They
> all have similar result (i.e. update tool GUI is roughly 3 times
> faster than pkg command for SINGLE component installation / removal)
>
>
>
> Is it a bug or because the update tool GUI has pre-run some processes
> / cached something before the remove / install so that it can run
> faster than pkg command? If that's the case, why is that remove /
> install with MULTIPLE components does not have this problem? I am
> really not sure if my findings are just coincidence or what. Should I
> file an issue for it?
>
>
>
>
>
> Thanks & Regards,
>
> Karen
>