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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to