diff flys-artifacts/ChangeLog @ 3191:ef0db530c341

Removed some expensive XPath usage. flys-artifacts/trunk@4807 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 27 Jun 2012 09:16:28 +0000
parents 49fe2ed03c12
children cd309f8597f6
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Jun 26 17:20:31 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jun 27 09:16:28 2012 +0000
@@ -1,3 +1,13 @@
+2012-06-26	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/collections/AttributeParser.java:
+	  Removed some expensive XPath usage. Some quick profiling 
+	  showed that up to 7% of our code (excluding Hibernate, H2, Restlet, etc.)
+	  were spend in these XPaths. A lot of time
+	  
+	  !!! Please, please, dear fellow programmers do not use XPath for fetching
+	  !!! trivial things that are easily accessible via DOM, too!
+
 2012-06-26	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java,

http://dive4elements.wald.intevation.org