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

Emmanuel Bernard emmanuel at hibernate.org
Fri Jan 8 09:01:43 EST 2010


OTOH if the test last minutes, this is not a realistic test either. The bootstrap of AS is the bootstrap of AS, the VM starts from cold that's a fact of life.

On 8 janv. 2010, at 14:56, Richard Opalka wrote:

> 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
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development





More information about the jboss-development mailing list