We should add the option to enable XDebug profiling using a query string. I think we can enable this fairly easily by editing our ini file to include the following:
# Enable php profiling with get param XDEBUG_PROFILE=1
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=cachegrind.out.%t.%p
xdebug.profiler_enable_trigger=1
Props to @mattheu for mentioning this idea after seeing a talk a WordCamp Europe that demonstrated profiling.
We should add the option to enable XDebug profiling using a query string. I think we can enable this fairly easily by editing our ini file to include the following:
Props to @mattheu for mentioning this idea after seeing a talk a WordCamp Europe that demonstrated profiling.