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

Performance of my site

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Thu Sep 06, 2018 8:49 pm    Post subject: Performance of my site Reply with quote

Hi

In my job, we have installed the Smarty-3.1.21-dev version, and we found that the performance of our site it´s no good.

My question is, the version of our smarty can affect the performance of our site ?

Best regards,
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Thu Sep 06, 2018 9:00 pm    Post subject: Reply with quote

1. Define "no good", please.
2. Why the hell you're using a dev. version in production?
3. Yes.
4. Developing on windows is probably what causing your performance issues, to begin with.
Back to top
View user's profile Send private message
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Thu Sep 06, 2018 10:00 pm    Post subject: Reply with quote

Hi AnrDaemon

Regarding your point...
1- PageSpeed Score (71%) YSlow Score (70%) Page Details Fully Loaded Time 2.2s

2. Dev Version !!! Really !!! Man I just started to work here...I have 5 days

3. ??

4. We cant develop in windows? Here use WAMP and later upload to linux server

Thank you for your help
Back to top
View user's profile Send private message
bsmither
Smarty Elite


Joined: 20 Dec 2011
Posts: 322
Location: West Coast

PostPosted: Thu Sep 06, 2018 11:31 pm    Post subject: Reply with quote

I, too, from a number of versions ago, had complaints about very slow performance and blamed Smarty (as revealed by cachegrind).

However, the latest version or three really is very much faster. (Currently using 3.1.30 on PHP5.6.)

Of course, delivery times is directly related to how much work Smarty has to do. Be sure to implement caching.

And "fully loaded"? With respect to Smarty, your only concern is the time it takes, after PHP starts, for the HTML document to get spitted out of PHP to the web server.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Sep 07, 2018 7:13 pm    Post subject: Reply with quote

Jamarchi wrote:
Regarding your point...
1- PageSpeed Score (71%) YSlow Score (70%) Page Details Fully Loaded Time 2.2s

None of which is relevant to Smarty.
Besides, you didn't provide any Smarty specific details to measure.
It's easy to get wildly different results. Caching or not, amount of blocks per page, how do you deliver data to the page. Amount of the data you present. These only what comes to my mind instantly.
Back to top
View user's profile Send private message
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Fri Sep 07, 2018 8:41 pm    Post subject: Reply with quote

Hi AnrDaemon

I no no please, do not get me wrong ... I´m not try to say that the smarty is the problem... no no.... I just think that if we are using an old version, we are not taking advantage of smarty
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Sep 07, 2018 9:57 pm    Post subject: Reply with quote

Only you can say that for certain.
Setup your own performance tests, and you will be able to compare not only different versions of Smarty in your environemnt, but also effects of your own changes.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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