Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: Smarty Speed - Template load time w/ large data sets?
lcoffin

Replies: 2
Views: 5815

PostForum: General   Posted: Tue Aug 24, 2010 8:19 pm   Subject: Smarty Speed - Template load time w/ large data sets?
I dug into the smarty code and turns out it was the trimwhitespace output filter -- that filter was taking 12 seconds to run. So I'm just going to pull the plug on it. No amount of reduced whitespace ...
  Topic: Smarty Speed - Template load time w/ large data sets?
lcoffin

Replies: 2
Views: 5815

PostForum: General   Posted: Tue Aug 24, 2010 7:08 pm   Subject: Smarty Speed - Template load time w/ large data sets?
I just checked our production server and the time overhead is much, much worse... 3 seconds for the inside timer, 12 to 15 seconds for the outside timer.

Production server is running Smarty 2.6.26, ...
  Topic: Smarty Speed - Template load time w/ large data sets?
lcoffin

Replies: 2
Views: 5815

PostForum: General   Posted: Tue Aug 24, 2010 6:22 pm   Subject: Smarty Speed - Template load time w/ large data sets?
I'm running into an issue where Smarty is taking a long time to simply load a template file when using large data sets. I haven't been able to reproduce the problem using simplified templates or data ...
  Topic: Regex bug in trimwhitespace
lcoffin

Replies: 12
Views: 24997

PostForum: Bugs   Posted: Fri Mar 21, 2008 2:18 pm   Subject: Regex bug in trimwhitespace
Ooops! My apologies! Forgot about the non-greedy modifiers... Embarassed

Another simple, although not very elegant solution is to copy the original $source at the start of trimwhitespace, and if $sourc ...
  Topic: Regex bug in trimwhitespace
lcoffin

Replies: 12
Views: 24997

PostForum: Bugs   Posted: Wed Mar 05, 2008 2:01 am   Subject: Regex bug in trimwhitespace
There's a bug in the trimwhitespace pattern matching that only appears to cause a problem when the pattern matches a large block of text. And it may also only appear when PHP is compiled with newer ve ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP