-
Notifications
You must be signed in to change notification settings - Fork 924
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
Too long TSC calibration #57
Comments
@validname See this fork of XHProf where I impelemented this https://github.com/QafooLabs/php-profiler-extension |
@beberlei Thank you! |
@validname The overhead is comparable to XHProf because it is a fork, but we implemented a bunch of ways to improve it:
We are working on a slightly different approach to profiling that is much faster, but it is not nearly production ready yet. Would you care to share your patches? I would be interested in the improvement ideas you had. |
@beberlei Sorry for long answer. |
Set SVG render as default for callgraph.php
Xhprof finds out how many TSC ticks goes into 5 ms period. And it does it for each core. It lasts 120 ms on our 24-core server, much more than PHP takes executing the script!
Maybe exists any way to do this calibration only for different physical CPUs (not all cores)?
The text was updated successfully, but these errors were encountered: