-
Notifications
You must be signed in to change notification settings - Fork 70
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
Improve Profiler Layout #74
Comments
Also it would be nice to have some |
@Neirda24 yep, it's really good idea. But I'm not sure if we can use this option. This option is allowed only for requests, not for clients and probably we need to collect execution time in another way. I'm trying to find the solution 🙂 |
@gregurco : agreed. Another way would be to add a middleware at the beginning and another at the end. each of the same instance recording the start time and the end time per requests. |
@Neirda24 in this case you will not know the exact time. It will be very approximate. Here you can see how guzzle calculates time for on_stats callback:
For different handlers there are different methods. Yep, probably it should be middleware, but somehow in another way. |
@gregurco : I see... Why can't we use the |
@Neirda24 the main problem is that default client option can be easy rewritten by request option and you will not be able to calculate time correctly 🙁 |
@gregurco : Fair enough. keep me posted if you have any ideas. I'll be glad to help. |
Could you elaborate on this? I'm not sure I understand why this wouldn't be trivial to implement? |
@andheiberg calculation of all requests time was done in PR #156 and released in v7.3.0 |
@gregurco thanks for your response. See https://github.com/ludofleury/GuzzleBundle for the split between connection and response timing. See https://github.com/e-moe/guzzle6-bundle specifically I don't believe either is currently functional in this package. |
@andheiberg no, for now we just calculate total time for each request and time for all requests. In future releases probably we will add more information related to request time. |
Some textareas are pretty small by default. This should be improved. Also some new screenshots should be created and inserted into README.md.
The text was updated successfully, but these errors were encountered: