Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.36k stars 1.93k forks source link

[Bug] High cpu when waiting for request. #1927

Open Wim-De-Clercq opened 4 years ago

Wim-De-Clercq commented 4 years ago

Describe the bug Same as https://github.com/Kong/insomnia/issues/1426

To Reproduce Send a request to an application with a breakpoint in it, so insomnia is waiting for the response.

Expected behavior Since insomnia is just waiting I'm expecting very low resource usage

Screenshots This is while insomnia waits for a response.

image

The kwin_x11 is also a result of insomnia doing something wrong.

Desktop (please complete the following information):

Additional context This is with or without --disable-gpu

lenolib commented 3 years ago

I can second the [minor] annoyance of this behaviour. I hit it regularly while debugging a locally run server and setting a breakpoint in the server code. Since no response will be sent back while the debugger is running, manually cancelling the request is required if you want some cpu power left over.