-
Notifications
You must be signed in to change notification settings - Fork 10
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
Request: Document #8
Comments
Hi, Can I have more details? |
Hi @rez1dent3 , I installed the package, but I can't get it works. |
You need to install xhprof, and then configure it to your needs. laravel-xhprof/config/config.php Lines 4 to 11 in a414449
|
I debugged
|
Xhprof source path
You are not right |
Ok, I will try again. How can I show the result of profiling? |
I want to confirm one more thing, If I use the |
expand and configure |
>>> config('xhprof.freq', 0.01);
=> 0.001
>>> mt_rand() / mt_getrandmax()
=> 0.75573935301776 I followed the default configuration, you see the |
xhprof can be used in production. To reduce the load, I log part of the requests. That there was no overhead |
I changed my freq to 1 to make it works, it is not a good idea? |
Depends on your load. I would advise no more than 1% of requests |
A million thanks @rez1dent3 for guiding me to get it works. I will try to adjust the |
Would you please update the document?
The text was updated successfully, but these errors were encountered: