Performance drops too much with added appointments

Issue #94 resolved
Željan Topić created an issue

Make the damn thing a lot faster.

Comments (9)

  1. Jesse

    To get the load time for the same product on WPengine platform from ~72 seconds to ~14 seconds requires their $2,000/month hosting package.

    These are the stats from a product with 1,981 appointments over approximately 6 available months.

    Another product with similar availability has 551 appointments and takes ~3.5 seconds to load on the $2k/month package.

  2. Jesse

    My kneejerk thought for a solution is to only load the month that is being viewed. It will increase the time between switching months but not by much as it's only loading the next month.

    Or the previous and next month could be loaded/cached once the current viewing month is done loading.

    The nature of user interaction (for many use cases) is to click next month and at least pause for a couple seconds to scan availability; which should be enough time to pre-load the next month.

  3. Željan Topić reporter

    Jesse, thanks for your feedback. We'll try to reduce the same loops and prevent duplicated functions for the same task. Just this will significantly reduce load times by at least 90%.

  4. jesse9212

    "We'll try to reduce the same loops and prevent duplicated functions for the same task. Just this will significantly reduce load times by at least 90%."

    Cannot wait. The load time is painful for our 1,000+ users.

  5. Log in to comment