Enclavely / tailor

Build beautiful page layouts quickly and easily using your favourite WordPress theme.
https://www.tailorwp.com
GNU General Public License v3.0
1.05k stars 102 forks source link

Tailor adds 10-25 seconds to xdebug load time #76

Open RobertoSnap opened 7 years ago

RobertoSnap commented 7 years ago

Hi

I have just started to use tailor to create customizable woocommerce site layouts without effecting the theme.

Im useing vagrant VVV and Rasmus php7 for local development enviroment.

I frequently use xdebug, but after i started useing Tailor i got really long load times. If a deactivate the plugin xdebug runs quikly. If i deactivate xDebug, its the same fast load times. So it could be that Tailor is affecting xDebug in some way. I have seen similear issues with Loco Translate and plugins containing many files.

I will look deeper into this as I really want to use Tailor (thanks for a great product). But im just asking here if some of you have experienced the same issue with Tailor and xDebug?

andrew-worsfold commented 7 years ago

Hi @RobertoSnap,

Unfortunately I am not familiar with xdebug, so am unable to say why the execution time is increasing by the amount that you specified. Have you tested it against other plugins with a similar number of files?

If there are best practices when it comes to xdebug or anything else that you think should be added to (or changed about) Tailor to better work with these sorts of tools, please let me know and I'll be happy to make the necessary changes to the code base!

I'll leave this issue open for the time being so that you or others can contribute feedback on the matter.

Oh, and glad you're liking Tailor 😉

Cheers, Andrew.

andrew-worsfold commented 7 years ago

Hi @RobertoSnap -

The latest release should go some way towards resolving this. If you have time, would you be able to confirm whether the xdebug load time has reduced?

Many thanks, Andrew.