Support » Plugin: GamiPress » Gamipress/LearnDash Quiz Slowness

  • Resolved jentlefur



    We are using Gamipress along with LearnDash. It is working great except that we’ve noticed that the quizzes are saving extremely slow now. We did some investigating and have it down to this line of code in Gamipress:

    When we comment out that line of code, the quiz saves quickly.

    Is there anything that can be done to speed this up so we don’t have to comment out lines of code?

    We are using the latest version of Gamipress/LearnDash/Wordpress.

Viewing 1 replies (of 1 total)
  • Plugin Author rubengc


    Hi @jentlefur

    Everytime GamiPress triggers an event, GamiPress check all requirements that use it

    For example, imagine you have setup a points award of 10 points for complete any quiz and also you have set as requirement of an achievement complete any quiz

    When the event “Complete any quiz” happens, GamiPress will check in previous example 2 elements that probably the user can earn (the points award and the achievement step)

    You can experience some slowdowns if you have a bunch of elements based on the same event, for example, if you have 10 achievements with the same requirement, GamiPress will need to check them every time the event is triggered to meet if user earns something

    Other way that you can experience slowdowns is your hosting capabilities, it means that more users and more complex GamiPress setup will require a better hosting

    It’s like an store, you will need more resources for a store with 100 products and with 1000 visits than a store with only 10 products and 100 visits

    In resume, the most important is your hosting (if you don’t have a super excesive gamification setup) and the unique you need is a professional one (free or cheap hostings are just headaches)

    Hope it helps

    Best regards

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.