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

query durations #8

Closed
sineld opened this issue Oct 2, 2013 · 3 comments
Closed

query durations #8

sineld opened this issue Oct 2, 2013 · 3 comments

Comments

@sineld
Copy link

sineld commented Oct 2, 2013

Thanks for great package.
Please add some more digits to database query results like 0.00256 ms.

also

Debugbar::measure('Two sql Queries', function() {
    $designs = Design::orderBy('id', 'DESC')->take(5)->get();
    $notices = Notice::orderBy('id', 'DESC')->take(5)->get();
});

"Two sql Queries (4ms)"

has to be more digits.

@barryvdh
Copy link
Owner

barryvdh commented Oct 2, 2013

Created a PR for microseconds: maximebf/php-debugbar#34
You example will show as 3μs

@barryvdh barryvdh closed this as completed Oct 2, 2013
@barryvdh
Copy link
Owner

barryvdh commented Oct 2, 2013

Ah, saw your edit. I updated the PR to show 2 digits for ms also.

@sineld
Copy link
Author

sineld commented Oct 2, 2013

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants