-
Notifications
You must be signed in to change notification settings - Fork 28
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
CurlMutlirunner burn CPU #55
Comments
I'll check this today. |
Why there is no I think adding a simple |
@jderusse, can you try changed version from branch https://github.com/php-http/curl-client/tree/issue-55-CurlMultirunner_burn_CPU ? |
@jderusse, I've update branch. Can you check it? |
Would you mind to open a PR @mekras ? It would be easier to review :-) |
given the following snippet
Where running the script, my application consume A LOT of CPU while waiting for the request
$ time ./index.php real 0m3.190s user 0m1.638s sys 0m1.523s
Here CPU is used 1.638s + 1.523s = 3.161s to process this 3.190s script
when applying this durty patch
I get
$ time ./index.php real 0m3.163s user 0m0.234s sys 0m0.211s
now, the CPU is used 0.445s to process the same request.
The text was updated successfully, but these errors were encountered: