Title: Plugin impact on load time
Last modified: August 6, 2017

---

# Plugin impact on load time

 *  [phil2016](https://wordpress.org/support/users/phil2016/)
 * (@phil2016)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-impact-on-load-time/)
 * 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](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-impact-on-load-time/#post-9387556)
 * Checking user capabilities is surprisingly slow. The most recent performance 
   profiling run showed that the [`current_user_can`](https://codex.wordpress.org/Function_Reference/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 8 years, 10 months ago by [Janis Elsts](https://wordpress.org/support/users/whiteshadow/).

Viewing 1 replies (of 1 total)

The topic ‘Plugin impact on load time’ is closed to new replies.

 * ![](https://ps.w.org/admin-menu-editor/assets/icon-128x128.png?rev=1418604)
 * [Admin Menu Editor](https://wordpress.org/plugins/admin-menu-editor/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-menu-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-menu-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-menu-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-menu-editor/reviews/)

## Tags

 * [page load](https://wordpress.org/support/topic-tag/page-load/)

 * 1 reply
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-impact-on-load-time/#post-9387556)
 * Status: not resolved