commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <ssand...@nextance.com>
Subject RE: Digester/Beanutils performance
Date Wed, 07 Aug 2002 23:04:39 GMT
I am a huge +1 on this.  I am actually using Digester for something
other than configuration files, and would greatly benefit from any
performance improvements.

Costin, which solution do you think is best?

Scott

> -----Original Message-----
> From: costinm@covalent.net [mailto:costinm@covalent.net] 
> Sent: Wednesday, August 07, 2002 3:59 PM
> To: Jakarta Commons Developers List
> Subject: Digester/Beanutils performance
> 
> 
> I run few times OptimizeIt on tomcat startup.
> 
> The parsing of server.xml takes about 4 secs on my machine, 
> and >1/2 of 
> this ( 2.7 ) is in 
>  MethodUtils.getMatchingAccessibleMethod()
> 
> The same method seems to also double the time it takes for 
> modeler to load the .xml file - and I suspect other cases 
> will be affected as well.
> 
> Solutions: 
> - cache the result and do something to optimize this.
> 
> - use IntrospectionUtil from tomcat.util in Digester, which 
> does all the caching and has been optimized for quite some time.
> 
> ( well, 4 secs to read server.xml doesn't seem too much - but 
> things add up quickly and someone may use this inside a 
> servlet or something...)
> 
> Costin
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message