Jump to content

[solved] PS 1.6 slow loading front office (enable smarty cache)


nnab

Recommended Posts

Posting the front office details. The last three initcontent, initfooter and display are loading slowly. 

Any issues why these are taking more time. I did install warehouse theme but not configured yet but its modules are placed on several hooks already.

 

The store is on 1.6.0.8 and running default theme.

 

 

Load time3767 ms
You'd better run your shop on a toaster
Execution Load time (ms) config 200 constructor 0 init 53 checkAccess 0 setMedia 5 postProcess 0 initHeader 0 initContent 2021 initFooter 610 display 878
Hook processing2904 ms / 34.35 Mb
79 methods called in 38 modules
Hook Processing displayHomeTabContent 2.22 Mb in 872ms displayTop 5.07 Mb in 722ms displayFooter 2.65 Mb in 610ms displayHeader 17.62 Mb in167 ms displayNav 0.26 Mb in 163ms displayHome 0.74 Mb in 143ms displayHomeTab 4.56 Mb in 115ms displayTopColumn 0.25 Mb in 84ms moduleRoutes 0.88 Mb in 21ms displayBanner 0.03 Mb in 3ms displayProductListReviews 0.06 Mb in 3ms actionDispatcher 0.00 Mb in 0ms displayMyAccountBlockfooter 0.00 Mb in 0ms DisplayOverrideTemplate 0.00 Mb in 0ms actionFrontControllerSetMedia 0.00 Mb in 0ms displayProductDeliveryTime 0.00 Mb in 0ms displayProductPriceBlock 0.00 Mb in 0ms
Memory peak usage53.5 Mb
Execution Memory (Mb) Total (Mb) config 13.14 13.2 constructor 0.00 13.2 init 5.38 18.6 checkAccess 0.00 18.6 setMedia 0.34 18.9 postProcess 0.00 18.9 initHeader 0.01 18.9 initContent 30.24 49.5 initFooter 2.66 52.0 display 1.08 53.5
Total cache size (in Cache class)0.00 Mb
DB type: DbPDO
SQL Queries494 queries
Time spent querying157 ms
Included files: 293
Size of included files4.42 Mb
Globals (> 1 Ko only): 585 Ko
  • _MODULES ≈ 340 Ko
  • _LANG ≈ 194.9 Ko
  • _SERVER ≈ 9.6 Ko
  • HTTP_SERVER_VARS ≈ 9.5 Ko
  • HTTP_ENV_VARS ≈ 8.8 Ko
  • _ENV ≈ 8.8 Ko
  • _MODULE ≈ 3.7 Ko
  • _REQUEST ≈ 1.6 Ko
  • HTTP_COOKIE_VARS ≈ 1.6 Ko
  • _COOKIE ≈ 1.6 Ko

 

 

 

Link to comment
Share on other sites

Pasted from notepad

Load time: 3767 ms
You'd better run your shop on a toaster
Execution Load time (ms)
config 200
constructor 0
init 53
checkAccess 0
setMedia 5
postProcess 0
initHeader 0
initContent 2021
initFooter 610
display 878
Hook processing: 2904 ms / 34.35 Mb
79 methods called in 38 modules
Hook Processing
displayHomeTabContent 2.22 Mb in 872 ms
displayTop 5.07 Mb in 722 ms
displayFooter 2.65 Mb in 610 ms
displayHeader 17.62 Mb in 167 ms
displayNav 0.26 Mb in 163 ms
displayHome 0.74 Mb in 143 ms
displayHomeTab 4.56 Mb in 115 ms
displayTopColumn 0.25 Mb in 84 ms
moduleRoutes 0.88 Mb in 21 ms
displayBanner 0.03 Mb in 3 ms
displayProductListReviews 0.06 Mb in 3 ms
actionDispatcher 0.00 Mb in 0 ms
displayMyAccountBlockfooter 0.00 Mb in 0 ms
DisplayOverrideTemplate 0.00 Mb in 0 ms
actionFrontControllerSetMedia 0.00 Mb in 0 ms
displayProductDeliveryTime 0.00 Mb in 0 ms
displayProductPriceBlock 0.00 Mb in 0 ms
Memory peak usage: 53.5 Mb
Execution Memory (Mb) Total (Mb)
config 13.14 13.2
constructor 0.00 13.2
init 5.38 18.6
checkAccess 0.00 18.6
setMedia 0.34 18.9
postProcess 0.00 18.9
initHeader 0.01 18.9
initContent 30.24 49.5
initFooter 2.66 52.0
display 1.08 53.5
Total cache size (in Cache class): 0.00 Mb
DB type: DbPDO
SQL Queries: 494 queries
Time spent querying: 157 ms
Included files: 293
Size of included files: 4.42 Mb
Globals (> 1 Ko only): 585 Ko
_MODULES ≈ 340 Ko
_LANG ≈ 194.9 Ko
_SERVER ≈ 9.6 Ko
HTTP_SERVER_VARS ≈ 9.5 Ko
HTTP_ENV_VARS ≈ 8.8 Ko
_ENV ≈ 8.8 Ko
_MODULE ≈ 3.7 Ko
_REQUEST ≈ 1.6 Ko
HTTP_COOKIE_VARS ≈ 1.6 Ko
_COOKIE ≈ 1.6 Ko
S
Link to comment
Share on other sites

  • 3 weeks later...

Took suggestion from El Patron yesterday to have the template compilation for the first two options. I had force compilation set as default. Once the option was set to recompile templates, the site like what El says went bozoom from 4s to 0.4s loading time. Thanks very much.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...