ellatrix / rename-wp-login

Rename wp-login.php
https://wordpress.org/plugins/rename-wp-login/
147 stars 71 forks source link

bad performance #13

Closed EspertoMagento closed 8 years ago

EspertoMagento commented 8 years ago

Hello, I have a question about your beautiful and useful plugin. If I profiler with P3 profiler all my plugins, I see that this plugin (rename wp-login.php) is the slowest in the load (0,663 seconds). You know why? Thanks

ellatrix commented 8 years ago

I have no idea. It's a small plugin and I don't see any issues with it. Any more data is welcome.

kalivas commented 8 years ago

It may be because P3 profiler tests with user logged in. Usually no caching...and some php/mysql operations that don't happen on regular visits.

PS: I haven't read the code of the plugin... I suggest you split test your speed with a tool like pingdom an see if you get significant waiting differences. If you do then indeed the plug-in has performance impact.;-)

EspertoMagento commented 8 years ago

My problem is that in frontend the site is very fast, in backend is very very slow and I don't know why. The site in on siteground. I try P3 profiler and I see this: screenshot- 2016-03-08 alle 15 30 24 screenshot- 2016-03-08 alle 15 31 28

But I think also P3 measure frontend speed. How can I debug the backend slow? Thank you very much!

ellatrix commented 8 years ago

Hm, I'm not sure why it would slow down the site, there is only one small extra database query. For me the plugin is not even in the pie chart... Btw, you are very welcome to also open a SiteGround ticket, I'm sure the support team is eager to help you find the problem. I also work for SiteGround. :)

theperfectwill commented 8 years ago

@danycrup85

Hi. Just chipping in... As I don't think there is any possible way the P3 Profiler is correct that Rename Wp-Login is slowing or the slowest part of your site, I think it may be giving False Positives. I'm not too informed on that subject and why false positives are given, but that is my first thought. So you might bring up that concept to Siteground or P3 Profiler support when you look into it more.

This also might be a combination of Wordfence Security (if you have the Firewall and/or Login, Block features enabled) and Rename wp-login. I would try troubleshooting between the settings of Wordfence and Rename wp-login first, if you haven't.

As a sidenote... Wordfence security records human hits (if enabled) on each page visit. When you run that feature against Pingdom or other speed test results you should see that significantly slows down your site, in the results and by actually loading the pages yourself with and without that feature. Rename wp-login, specifically cut down on more than enough of the bot login attempts and live hack ones, so I disabled that Wordfence Security feature for the sake of performance and all has been well for at least a year. In most cases I don't think that type of security on your login page is needed from Wordfence if you have set your wp-login with Rename wp-login to be a good one.

stanwmusic commented 8 years ago

I have used rename-wp-login since it came out on hundreds of websites, I use it on all the Wordpress installs I do unless the client did not want it at all, for some reason which only happened once I think , but I have never noticed any performance hit at all, But I am No expert and did not benchmark it like that with and without the plugin.

EspertoMagento commented 8 years ago

I fixed it. Only for information, the plugin who caused the slowdown in the backend was W3 Total Cache!!

ellatrix commented 8 years ago

Awesome! Thanks for the info.