JTT Posted November 6, 2013 Share Posted November 6, 2013 (edited) Hello, is here someone who can help me with debuging prestashop why is it so slow... Here is the debug : I will pay for the repair. Thanks. Load time: 4.438sYou'd better run your shop on a toasterconfig: 251ms constructor: 0ms init: 122ms checkAccess: 0ms setMedia: 2ms postProcess: 0ms initHeader: 0ms initContent: 2.737s initFooter: 14ms display: 1.312s Hook processing: 4.085s / 20.39 MbdisplayHome: 1.483s / 1.62 Mb maxHeader: 1.221s / 1.2 Mb displayTop: 1s / 4.88 Mb displayHeader: 172ms / 10.54 Mb moduleRoutes: 99ms / 0.27 Mb displayRightColumn: 49ms / 0.29 Mb displayLeftColumn: 32ms / 0.49 Mb displayFooter: 14ms / 0.98 Mb maxInfos: 11ms / 0.07 Mb maxSlideshow: 3ms / 0.06 Mb actionModuleRegisterHookAfter: 0ms / 0 Mb freeFblock: 0ms / 0 Mb DisplayOverrideTemplate: 0ms / 0 Mb actionFrontControllerSetMedia: 0ms / 0 Mb actionModuleRegisterHookBefore: 0ms / 0 Mb actionDispatcher: 0ms / 0 Mb Memory peak usage: 34.4 Mbconfig: 9.21 Mb (9.4 Mb) constructor: 0 Mb (9.4 Mb) init: 3.9 Mb (13.2 Mb) checkAccess: 0 Mb (13.2 Mb) setMedia: 0.22 Mb (13.4 Mb) postProcess: 0 Mb (13.4 Mb) initHeader: 0.01 Mb (13.4 Mb) initContent: 17.83 Mb (31.4 Mb) initFooter: 0.99 Mb (32.4 Mb) display: 1.57 Mb (34.4 Mb) Total cache size (in Cache class): 1.43 Mb DB type: DbPDO SQL Queries: 561 queries Time spent querying: 3.802s Included files: 225Size of included files: 2.64 Mb Edited November 6, 2013 by JTT (see edit history) 1 Link to comment Share on other sites More sharing options...
JTT Posted November 6, 2013 Author Share Posted November 6, 2013 Sometimes it is much slower (9s and more). The first problem I can see is the "time to first byte" ... Can anyone help ? I will pay for the solution. Link to comment Share on other sites More sharing options...
afshop Posted April 21, 2014 Share Posted April 21, 2014 On 11/6/2013 at 4:07 PM, JTT said: Sometimes it is much slower (9s and more). The first problem I can see is the "time to first byte" ... Can anyone help ? I will pay for the solution. Hi, do you solve the slow-problem? I have also me the same problem Thanks Angela Link to comment Share on other sites More sharing options...
Dh42 Posted April 21, 2014 Share Posted April 21, 2014 From the looks of his out put, the problem was his host was slow. Link to comment Share on other sites More sharing options...
El Patron Posted April 21, 2014 Share Posted April 21, 2014 in order to get a 'clue' of what might be slowing your shop down... you can get good informaiton by doing the following using FTP download config/defines.inc.php (back it up) find this line and set to true: define('_PS_DEBUG_PROFILING_', true); upoload back to your live shop. navigate to 'slow' page(s) make sure to copy and paste page stats into another document for review. now set the above line back to false (not you do not want to run this as each page by every visitor will show render stats. now go review the information, see where things are taking the most time. if you think you have an issue, then open a new topic for that issue, don't assume that you have the 'same' problem as someone else. note: this may not be a native ps problem, it could be server (shared hosting most likely) mysql data being on a different server than shop files. Link to comment Share on other sites More sharing options...
afshop Posted April 22, 2014 Share Posted April 22, 2014 On 4/21/2014 at 9:14 PM, El Patron said: in order to get a 'clue' of what might be slowing your shop down... you can get good informaiton by doing the following using FTP download config/defines.inc.php (back it up) find this line and set to true: define('_PS_DEBUG_PROFILING_', true); upoload back to your live shop. navigate to 'slow' page(s) make sure to copy and paste page stats into another document for review. now set the above line back to false (not you do not want to run this as each page by every visitor will show render stats. now go review the information, see where things are taking the most time. if you think you have an issue, then open a new topic for that issue, don't assume that you have the 'same' problem as someone else. note: this may not be a native ps problem, it could be server (shared hosting most likely) mysql data being on a different server than shop files. Hi, thanks for your aswear, I changed the config/defines.inc.php I put true: define('_PS_DEBUG_PROFILING_', true); but i have this error ... Undefined index: pro_a_cart (/home/camicie/public_html/test/cache/smarty/compile/ed/77/6b/ed776bb8117a6c71a9e63751e04ee99d93548b2a.file.product-list.tpl.php, line 133) It's very strange Can you help me ? this is the slow page: http://test.7camicie.com/it/3-uomo Thanks Angela Link to comment Share on other sites More sharing options...
El Patron Posted April 23, 2014 Share Posted April 23, 2014 disable block layered and see how fast it could be... also when you turned on profiling you should have gotten a lot more information....scroll down.. Link to comment Share on other sites More sharing options...
afshop Posted April 23, 2014 Share Posted April 23, 2014 On 4/23/2014 at 12:22 AM, El Patron said: disable block layered and see how fast it could be... also when you turned on profiling you should have gotten a lot more information....scroll down.. Hi, yes if i disable block layered it's faster ( from 8s to 4s ) but i need to have the filter, do you have a alternative solutions? thanks Link to comment Share on other sites More sharing options...
Recommended Posts