Viewing 4 replies - 1 through 4 (of 4 total)
  • I wouldn’t trust a plugin that profiles plugins. ??
    You might want to concider getting rid of Jetpack and w3 total cache. Especially if you run a small website.

    Thread Starter samaralife

    (@samaralife)

    I don’t have any caching plugin and Jetpack eats 15% or so, thrice less. ?? Plugin profiler was highly recommended as a diagnostic tool to check which plugins slow down a site.

    As for Jetpack, I certainly don’t need all of its features. But if I decided to replace Jetpack with alternatives for the required features I would end up with 15-20 plugins instead of just one.

    @fadingmusic, I don’t normally trust someone that says not to trust something.

    I checked out P3 – Plugin Performance Profiler last night to optimize my own plugins. WP Social Login can take on average 0.5 seconds to load on average – 4.3 seconds on admin-ajax.php. That is ridiculous and it’s such a small portion of the site.

    After tweaking and tweaking of my own plugin I applied the same techniques and dropped WP Social to average 0.0596 secs – 4.6 secs on plugin.php.

    Things just need to get condensed in that initial plugin file to feel an immediate boost in speed.

    register_activation_hook( __FILE__ );

    that method only needs to be called once and anything admin related should come from a single check and callback

    if( is_admin() )
    {
    	require_once( WORDPRESS_SOCIAL_LOGIN_ABS_PATH . '/includes/admin/wsl.admin.ui.php'        ); // The entry point to WSL Admin interfaces
    	add_action('admin_init', 'wsl_admin_init');
    }

    I hope the author takes a look with P3, but this might require making a pull request on GitHub.

    I added the issue to the GitHub page at https://github.com/miled/wordpress-social-login/issues/68

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Takes 50% of all plugins' load time’ is closed to new replies.