Skip to content
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

High CPU usage when keep using the #249

Open
amsun10 opened this issue Jun 16, 2020 · 1 comment
Open

High CPU usage when keep using the #249

amsun10 opened this issue Jun 16, 2020 · 1 comment

Comments

@amsun10
Copy link

amsun10 commented Jun 16, 2020

No description provided.

@amsun10
Copy link
Author

amsun10 commented Jun 16, 2020

for i := 0; i < 10000; i++ { fmt.Println(i) //request.Clone().Get("https://www.baidu.com").End() gorequest.New().Get("https://www.baidu.com").End() }

it will soon achieve 95%+ CPU usage no matter clone or New(), any comments?

I am using github.com/parnurzeal/gorequest v0.2.16 and go 1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant