• Hello,

    I have a site running Divi theme with Gravity Forms and the Gravity Perks add-on. Together, these use a lot of resource.

    I just installed P3 – Plugin Performance Profiler to see what else is using resources, and I was extremely surprised to find that my total plugin impact on load time, and of that the Admin Menu Editor was responsible for 8%

    That seems crazy!

    Can anyone explain to me why a plugin like this uses so much resource?

    It’s 1/3rd of Gravity forms – which is a workhorse on my site. And double the resource of Gravity Perks which also provides excellent functionality.

    Why would a menu plugin be so resource heavy?
    It’s the second biggest resource using plugin on my site!!!

Viewing 1 replies (of 1 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Checking user capabilities is surprisingly slow. The most recent performance profiling run showed that the current_user_can function (which is part of WordPress core) was one of them main bottlenecks. AME must call this function at least once per menu item. Couple that with the fact that the admin menu can easily have more than 100 items on complex sites and you get a big performance hit.

    There’s a bunch of other stuff, but permissions and permissions-related tasks are what takes the most time.

    • This reply was modified 6 years, 8 months ago by Janis Elsts.
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin impact on load time’ is closed to new replies.