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
Profiler: measure execution time from the beginning. #32754
Conversation
9efe7da
to
295be8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement 👍
I didn't know about REQUEST_TIME_FLOAT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @lmeyer1! :)
I think it could be tested by a dev. WDYT @PrestaShop/qa-functional? |
Hello @lmeyer1 Thanks for your PR 🚀 Thanks for your patience 🙏 |
@hibatallahAouadni I think we could agree that maintainers reviewing PR is equal to the issue being accepted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved, well done! Message to the maintainers: do not forget to milestone it before the merge. |
Thank you @lmeyer1 ! |
Thank you @nicosomb @hibatallahAouadni @kpodemski |
Profiler::__cunstruct()
. We need a beter estimate. If the server exposes the variable$_SERVER['REQUEST_TIME_FLOAT']
, use it, else use the$start_time
fromPrestaShop/config/config.inc.php
Line 38 in 2aaa49f