velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cocosila" <cocos...@home.ro>
Subject Re: that statement takes 20s !!!!
Date Wed, 11 Dec 2002 12:32:07 GMT
Hello, 


 Sorry for the delay. Here are the information about the case:
 
  * the template is in the attachment
  
  * about the objects, there are 20 simple data containers in $list.
  Each of these containers have references to other containers like 
  objects (Characteristics, Classification).
  
  * and YES only that evaluate takes 20s !! I calculate like this:
  
  start = System.currentTimeMillis();
  Velocity.evaluate(context, outWriter,
      page + "-DB VM-", vtlCode);
  stop = System.currentTimeMillis();
  logger.debug("Time for evaluating the " + page + " VTL code: "
         + (stop - start));
         
  All suggestions are welcome !
  
Best regards,
 Dan

Mime
View raw message