Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.1.2.1
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
Environment:Linux, Windows XP
-
Number of attachments :
Description
When unmarshalling several documents, we noticed a slowdown on the order of 14 times and more between Castor 0.9.4.3 and Castor 1.1.2.1. We didn't see this slowdown in version 1.1.1. It looks like this perfomance degradation was introduced in 1.1.2.1.
Without further information, this is going to be hard to analyze. I've had already had a detailed look at the release notes starting at 1.1.1, and I did not see a single commit set that might cause such an order of slow-down. One thing that came to my attention is that we have switched logging to commons-logging (and as such either Java logging or log4j or whatever you are using)., As such, this slowdown might be caused by excessive logging to e.g. stdout or a file (in case you happen to be using e.g. a FileAppender with log4J). If this is the case, I'd be interested to learn whether changing the log level to e.g. warn or error does cause a change in runtime behavior.