Kong / Kong/insomnia

[Bug] High cpu when waiting for request.

Open
#1,927 1 comment 0 reactions 0 assignees View on GitHub
B-performance N-investigation S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

**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):**
- OS: KDE Neon 5.17
- Installation Method: apt via https://dl.bintray.com/getinsomnia/Insomnia/
- App Version 7.0.6

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

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the waiting-for-response scenario on KDE Neon with and without --disable-gpu, then identify the cause of the high CPU and kwin_x11 activity. Done means resource usage remains very low while Insomnia waits for the response.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.