-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Adding option to track php functions time with adding actions in the … #301
Conversation
…code that will be profilled
Yep this is exactly the sort of thing I was thinking, thanks. A few points:
do_action( 'qm/start', 'function_1' );
do_action( 'qm/start', 'function_2' );
...
do_action( 'qm/stop', 'function_1' );
do_action( 'qm/stop', 'function_2' ); |
… second only to errors.
…ng function name.
Will you have to manually add "do_action" for each function you want to measure? if so, that's fine, but what about functions inside classes or if you want to get a measurement of the whole system at once? |
@eddr Interesting idea: a single location where you could add all of your timers, rather than having to manually add into each function/method. @johnbillion Possible to add |
@johnbillion has the documentation for these functions been created? I'm attempting to implement, but doesn't look like lapping is being displayed in the output? |
Addressed in #337 (comment) |
…code that will be profilled
For #282