[jboss-dev] Further profling: Where should I focus?

Richard Opalka ropalka at redhat.com
Fri Jan 8 08:56:33 EST 2010


He, hold on here Bill.

If you want to measure performance, you have to have huge testing set.
Playing with milliseconds doesn't prove anything :(
If you measure:

ZipInputStream: 256ms.
URLClassLoader: 5ms.

it doesn't prove anything. ZipInputStream could be affected by thread 
scheduler and as such not active for some (e.g. 255 ms) time.
To prove something is unefficient (e.g. VFS3),
you have to create tests that will measure performance in 
seconds/minutes to measurement don't be affected by thread scheduler or GC.

Rio

On 01/05/2010 06:18 PM, Bill Burke wrote:
> A simple test of using ZipInputStream vs. URLClassLoader to find a
> resource within jacorb.jar.
>
> ZipInputStream: 256ms.
> URLClassLoader: 5ms.
>
> URLClasLoader is obviously using some other mechanism to find things.
>    
-- 

Richard Opalka
ropalka at redhat.com
JBoss, by Red Hat

Office: +420 222 365 200
Mobile: +420 731 186 942




More information about the jboss-development mailing list