You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/09/27 22:14:14 UTC
DO NOT REPLY [Bug 13098] New: -
Digester Performance
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13098>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13098
Digester Performance
Summary: Digester Performance
Product: Commons
Version: 1.3 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Digester
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: gmessner@titan.com
The Rules that invoke methods; CallMethodRule, SetNextRule, SetRootRule,
SetTopRule use a method in beanutils.MethodUtils which does a lookup of the
method each and everytime it is invoked, obviously this can greatly impact the
performance of the Digester.
My suggestion is to have the specific Rule instance do a lookup of the method
upon first invokation and keep the reference to the Method in the Rule instance
for later re-use.
I have made this modification locally and have observed typical Digester speed
improvements of 20-50% depending on the specific Digester rules.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>