Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java @ 5887:88fca576e9e6
Datacage: Added some time meassuremnt for templating.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 02 May 2013 17:55:01 +0200 |
parents | 4897a58c8746 |
children | 6ea004d51203 |
comparison
equal
deleted
inserted
replaced
5886:6a63456b99d9 | 5887:88fca576e9e6 |
---|---|
843 Node output, | 843 Node output, |
844 Map<String, Object> parameters | 844 Map<String, Object> parameters |
845 ) | 845 ) |
846 throws SQLException | 846 throws SQLException |
847 { | 847 { |
848 BuildHelper helper = new BuildHelper(output, connections, parameters); | 848 long startTime = System.currentTimeMillis(); |
849 | 849 try { |
850 helper.build(); | 850 BuildHelper helper = |
851 new BuildHelper(output, connections, parameters); | |
852 helper.build(); | |
853 } | |
854 finally { | |
855 if (log.isDebugEnabled()) { | |
856 long stopTime = System.currentTimeMillis(); | |
857 log.debug("Building the datacage result took " + | |
858 (stopTime-startTime)/1000f + " secs."); | |
859 } | |
860 } | |
851 } | 861 } |
852 } | 862 } |
853 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 863 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |