Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page build times and db query count for local/staging to footer #25

Open
shampine opened this issue Jan 12, 2015 · 0 comments
Open
Milestone

Comments

@shampine
Copy link
Contributor

Thinking of something like this:

if(constant('WP_ENV') !== 'production') {
  echo 'Page built in '.(timer_stop(0, 5)).' seconds utilizing '.(get_num_queries()).' queries.';
}
@shampine shampine modified the milestone: 2.3.0 Jun 8, 2015
@shampine shampine modified the milestones: 2.3.0, 3.0.0 Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant