Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Sort by Manufacturer... SLOW!

    Loading the manufacturers list isn't a problem, however, when you select one of the manufacturers, it is REALLY SLOW!

    After selecting an option the page load time is:
    Parse Time: 11.788 - Number of Queries: 38241 - Query Time: 3.12004679495

    For comparison, front page load time, with 12 latest products and 8 best sellers shown:
    Parse Time: 0.665 - Number of Queries: 505 - Query Time: 0.237525555328

    Contact us page, i.e. a page without the latest products and best sellers:
    Parse Time: 0.302 - Number of Queries: 74 - Query Time: 0.0141262902679

    Is there anyway to make the load time quicker for the select by manufacturer?

    7239 Products
    2391 Categories

  2. #2
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Sort by Manufacturer... SLOW!

    Would adjusting the SQL_CACHE_METHOD help?

    Currently I'm using

    define('SQL_CACHE_METHOD', 'database');

  3. #3
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Sort by Manufacturer... SLOW!

    Here is a weird one, which will make sense to the coders out there, I guess it is due to the way the two methods search the database.

    If I search for "Acoustic Solutions" I get this result:
    Parse Time: 1.387 - Number of Queries: 2092 - Query Time: 0.685017476654

    If i select "Acoustic Solutions" from the drop down list it get this result:
    Parse Time: 12.589 - Number of Queries: 40035 - Query Time: 3.43918967332

  4. #4
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Sort by Manufacturer... SLOW!

    What i've done for now, is create a search term for each of the 85 manufacturers instead of using the manufacturer drop down, that way the customer isn't kept waiting.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sort by Manufacturer... SLOW!

    Without actually seeing your site, the explanations you are giving are not providing enough information to determine the reasons for the speed issues ...

    At a guess, the Manufacturers dropdown may have the Category Drop down on it ... how many Categories are in that list? If it is huge, then it has to output that dropdown list ... if that is 100-3000 Categories that is 100-3000 lines to download and depending how many are there it will take a week ... or 11 seconds ...

    A search for a manufactuer's name doesn't have the Category dropdown, that is 100-3000 less lines of code on the screen to download and will be much faster ... or 1.3 seconds ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Sort by Manufacturer... SLOW!

    The menu loads instantly, the problem is, if you use the manufacturers list and select from one of the 85 manufacturers it take ages to load your selection, if you just search for the manufacturer using the search box, it loads far far quicker.

    For example if I select "sony" from the manufacturer's list it takes ages to load
    but if i just search for "sony" it loads far far far quicker.

 

 

Similar Threads

  1. v153 Manufacturer sort in default sort drop down
    By vacuumwarlock in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2014, 02:58 PM
  2. v151 Adding Manufacturer sort order
    By edialedarb in forum Customization from the Admin
    Replies: 3
    Last Post: 28 Jan 2013, 02:35 AM
  3. Sort by manufacturer in Admin
    By reibenkopf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Mar 2008, 07:47 AM
  4. sort by manufacturer
    By etoile03 in forum Customization from the Admin
    Replies: 1
    Last Post: 5 Nov 2006, 06:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg