I have recently noticed a HORRIBLE lack of performance in the front office, on average around 9 seconds to create my home page ( http://tennieshardware.com ). I have noticed that the back end has an average creation time of about .259 seconds... whats the deal here? Is there anything I can do to increase performance?
Pursuant Solutions, programmers dedicated to the pursuit.
Hi,
The module "blockcategories" need a fix, you can reduce the maximum depth to increase the performance.
As for the back end, I've an average 0.075ms on my personnal computer, and 0.125ms for the product edition. Since my computer is an old, cheap one (ok not so old), I think your hosting company need to do some shopping :p
Overall performance is a little improved with the 1.1.
The module "blockcategories" need a fix, you can reduce the maximum depth to increase the performance.
As for the back end, I've an average 0.075ms on my personnal computer, and 0.125ms for the product edition. Since my computer is an old, cheap one (ok not so old), I think your hosting company need to do some shopping :p
Overall performance is a little improved with the 1.1.
I tested the blockcategories module from v1.1 but no visible peformance improvement.
Not that much with 150 categories...
Not that much with 150 categories...
H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R
La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.
H T T P : / / W W W . J O O N G L E B O O G I E . F R
La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.
I know this is an old thread, but it's still relevant.
I have a setup with more than 800 categories and sub-categories. The load time was more than 20 seconds on my (slow) server. I discovered that it was blockcategories that used most of the time.
The module blockcategories makes heavily use of smarty and recursively includes the tpl tree file. This is a bad idea performance wise.
I have rewritten the tree handling so it's done in PHP instead. This improved the performance significantly (less than 0.1 second on my server now).
I have attached my module.
/Kjeld
I have a setup with more than 800 categories and sub-categories. The load time was more than 20 seconds on my (slow) server. I discovered that it was blockcategories that used most of the time.
The module blockcategories makes heavily use of smarty and recursively includes the tpl tree file. This is a bad idea performance wise.
I have rewritten the tree handling so it's done in PHP instead. This improved the performance significantly (less than 0.1 second on my server now).
I have attached my module.
/Kjeld
Attached Files
presta-dyr - thanx for this!
I have another issue and the fix:
When u have many categories mixed with products, when u change product category on BO then load time is like 20-30 secs (on tested shop).
They fixed it in presta 1.3 and you can use classes/AdminTab.php from 1.3 in version 1.2.5. We tested it, and all works fine.
I have another issue and the fix:
When u have many categories mixed with products, when u change product category on BO then load time is like 20-30 secs (on tested shop).
They fixed it in presta 1.3 and you can use classes/AdminTab.php from 1.3 in version 1.2.5. We tested it, and all works fine.
Hi presta-dyr,
I used the file you uploaded to help with the shop loading speed but did not notice any difference. If I want to revert back to the original blockcategories can I just delete the folder and replace it with the original?
Cheers
I used the file you uploaded to help with the shop loading speed but did not notice any difference. If I want to revert back to the original blockcategories can I just delete the folder and replace it with the original?
Cheers
If you only have a few categories (and sub-categories), you won't notice the difference.
Yes, you can just restore the original module.
/Kjeld
Yes, you can just restore the original module.
/Kjeld
From 1266716877:
I know this is an old thread, but it's still relevant.
I have a setup with more than 800 categories and sub-categories. The load time was more than 20 seconds on my (slow) server. I discovered that it was blockcategories that used most of the time.
The module blockcategories makes heavily use of smarty and recursively includes the tpl tree file. This is a bad idea performance wise.
I have rewritten the tree handling so it's done in PHP instead. This improved the performance significantly (less than 0.1 second on my server now).
I have attached my module.
/Kjeld
I have a setup with more than 800 categories and sub-categories. The load time was more than 20 seconds on my (slow) server. I discovered that it was blockcategories that used most of the time.
The module blockcategories makes heavily use of smarty and recursively includes the tpl tree file. This is a bad idea performance wise.
I have rewritten the tree handling so it's done in PHP instead. This improved the performance significantly (less than 0.1 second on my server now).
I have attached my module.
/Kjeld
Does this relate to the latest 1.3x versions?
Thanks :-)
No, the performance of the category module and other areas has been improved in Prestashop v1.3. We'll need to re-evaluate the performance when v1.3 final is released and see what performance issues remain.
EDIT: Turns out that the performance of the category module hasn't been improved in PrestaShop v1.3.
EDIT: Turns out that the performance of the category module hasn't been improved in PrestaShop v1.3.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.
I just tested version 1.3.0.10 with a large category tree. It looks like nothing has changed (it's very slow). But my module works fine (and fast) with 1.3.0.10.
/Kjeld
/Kjeld
presta-dyr,
what is the difference between the original and yours?
In the backoffice I see no more other options...or did you use different code?
what is the difference between the original and yours?
In the backoffice I see no more other options...or did you use different code?
www.degrootste.be
powered by PrestaShop
powered by PrestaShop
It is only a performance improvement. I went from 20 s til 0.1 s load time in an example with 800 categories and sub-categories.
/Kjeld
/Kjeld
presta-dyr,
I did the test with your module.
I have over 1200 categories.
well before (with the original module) I had over 32 seconds to load a page.
now I have it done in max 1 second.
wonderfull
I will test further
thx
I did the test with your module.
I have over 1200 categories.
well before (with the original module) I had over 32 seconds to load a page.
now I have it done in max 1 second.
wonderfull
I will test further
thx
www.degrootste.be
powered by PrestaShop
powered by PrestaShop
Hi, i testesd this modul, but nothing changed. My test shop url http://www.7parts.lt/PrestaShop . There is over 20.000 categories,subcategories and subsubcategories, but there is now products. Is there any solution to make shop faster? Now the loading time is about 27 seconds
Sorry for my english
thank's
Sorry for my english
thank's
I've got a performance tips page on my website that may help you increase the speed of your website.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.
When i disable blockategories it works ok. my shop www.7parts.lt with less categories works i think ok, but test shop www.7parts.lt/PrestaShop with 20.000 categories is very slow
I tried fetching your page with cURL. It takes 6 s to get it (still very long time). So if it takes 27 s for you to get the page it is probably the rendering in your browser that takes a lot of time.
/Kjeld
/Kjeld




Back to top










