From: Matt S. <mat...@sp...> - 2006-12-19 23:45:33
|
Hi again Matt, I don't think I addressed one of your questions regarding Morph's performance. In general I've found Morph's performance to be an insignificant contributor to the overall performance of the programs I've worked on. I did some extensive performance tuning of my company's product a year or so ago and found Morph was taking too long in some circumstances. I made some changes then to fix the performance issues I found and that seemed to do the trick. I did these measurements using JProbe. The only time I consider Morph to be inappropriate is if it is being called thousands of times in a single user interaction and a direct call to the Java libraries will suffice. For example, for displaying a large table of numbers through a JSP, I changed my calls from something like Morph.convertToDouble to a simple call to new Double(string) or something similar. Any time you're using all this OO-design, reflection, etc. you are going to have a slower end result than if you had done things with direct calls to the Java libraries. However, Morph isn't an order of magnitude slower than doing things manually. Matt -- This message is intended only for the named recipient. If you are not the intended recipient, you are notified that disclosing, copying, distributing, or taking any action in reliance on the contents of this information is strictly prohibited. |