commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13098] New: - Digester Performance
Date Fri, 27 Sep 2002 20:14:14 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message