| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
4.0.x performance improvement | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Dude. You are as they say 'The Man'.
Previously <!--<TIME all="0.970788002014" sql="0.256434440613" php="0.714353561401">--> Now <!--<TIME all="0.324037075043" sql="0.0707721710205" php="0.253264904022">--> 1 sec is too slow for a page to generate. This has made things so much better. I salute you! however, that is for manufacturer list displays. A category with 47 products and 1 subcategory still takes 2.5 secs. Dave.
__________________
4.0.15 Linux |
|||||||
#42
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
geckoday, I can't wait for your other performance boosters! Thanks for this tip. I had just upgraded a few shopping carts and and the same time changed hosting providers, and I couldn't figure out why the sites were running so slow. This little tidbit improved performance quite a bit. Thanks again. |
|||||||
#43
|
|||||||||
|
|||||||||
Re: 4.0.x performance improvement
Wow. It sure does improve performance. Thanks.
__________________
Cordially, Just me X-Cart Gold Version 4.2.3 Multilingual shop: Spanish, French and US English |
|||||||||
#44
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
Wow, that's neat... How do you get that those timing comments to appear in the code?
__________________
Building: X-Cart GoldPlus 4.6.1 Old cart: XC 4.0.17 FComp-RMA-AOM-OFF-Affil BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought CM: eZConversion XP: SalesRecovery, MultCrncy |
|||||||
#45
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#46
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
So it looks like the slow func is func_bf_psc (see blowfish.php). It is also used in func_tpl_postfilter(). Not sure what it is actually doing. Seems to be the decrypt of $r?
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#47
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
Wow, very cool, thank you! My main page is huge, tons of HEAVY-weight mods, and I get this: <!--<TIME all="0.25964713096619" sql="0.015767574310303" php="0.24387955665588">--> Don't know what it was pre-mod. I did this mod awhile ago. (thanks!)
__________________
Building: X-Cart GoldPlus 4.6.1 Old cart: XC 4.0.17 FComp-RMA-AOM-OFF-Affil BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought CM: eZConversion XP: SalesRecovery, MultCrncy |
|||||||
#48
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
BEFORE: <!--<TIME all="1.588504076004" sql="0.49451470375061" php="1.0939893722534">-->
AFTER:<!--<TIME all="0.79779291152954" sql="0.14707159996033" php="0.65072131156921">-->
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#49
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
thanks this was very helpful
__________________
Xcart v4.0.18 |
|||||||
#50
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
I was having trouble getting the benchmark times to display. With Jasmin's help, I now see my site's benchmarks. Here's how...
In your browser's address bar type in: http://www.yourdomain.com/home.php?benchmark=y Replace yourdomain.com with the domain name of your X-cart store. Make sure you use the full path to the page you want to test. I tried the original, http://www.yourdomain.com?benchmark=y and that didn't work for me, because the index.php page redirects to the home.php page. Once you type in your Domain and Full Page Path plus the Question Mark and the Benchmark equals Yes, then hit your Enter/Return key and let the page load. Everything looks normal at this point. Now, you need to go to your browser's menu bar and select View Page Source Code. Scroll down to the bottom of the source code and you will see the page load times listed in an HTML comment. Hope that helps anyone else trying to view their page load times. Jasmin, thanks again for your how-to tips. Robert
__________________
X-cart 4.1.10 |
|||||||
|
|||
X-Cart forums © 2001-2020
|