Jump to content

Slow FO in 1.4.5.1


Recommended Posts

  • 1 month later...

I have the same problem. I have read many topics about 1.4 performance and can say - this problem for all PS customers and it is not in smarty cache or in ccc optimization. The main problem is PS core and architechture. I have made some tests on my project using simple Benchmark class for CI, result is shocking

HookName--BlockName--Time,sec

 

beforetop--blockpermanentlinks--0.0469

beforetop--blockuserinfo--0.0330

Total beforetop--0.1019

header--blocksocial--0.0043

header--blocksearch--0.0002

header--ganalytics--0.0233

header--blocktopmenu--0.0004

header--blockcategories--0.0007

header--blockstore--0.0004

Total header--0.0818

top--blocksearch--0.0192

Total top--0.0198

bottomtop--blocktopmenu--0.0912

Total bottomtop--0.0918

leftcolumn--blockcategories--0.0525

leftcolumn--blocknewproducts--0.0943

Total leftcolumn--0.1674

 

rightcolumn--blocksocial--0.0117

rightcolumn--blockviewed--0.0239

rightcolumn--blockbestsellers--0.2507

rightcolumn--blockspecials--0.8372 #its becouse RAND() in sql

rightcolumn--productcomments--0.1551

rightcolumn--blockcms--0.0224

rightcolumn--blockstore--0.0436

Total rightcolumn--1.4496

footer--ganalytics--0.0010

footer--blockcms--0.0620

Total footer--0.0643

 

 

BUT the main productListAssign 2.6554 sec - this is method in CategoryController!!!

Total time for scripts work - 5.4346 sec. and was done about 500 mysql requests!!!! (some of them from cache, but if you have too much products and they changed often cache not efficient)

As you see main problemis method price calculating for products and speed is inversely proportional to the number of products that you displayed on the page.

So, if your shop has more then 10000 products and hundrets categories and you want to have quick shop you need hard work with source code, any standart performance tools not efficient.

PS: version 1.4 slower as 1.3 about 25% for me

Link to comment
Share on other sites

×
×
  • Create New...