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

[BUG] Extremely lag when typing a request #37

Open
AnotiaWang opened this issue Dec 12, 2022 · 6 comments
Open

[BUG] Extremely lag when typing a request #37

AnotiaWang opened this issue Dec 12, 2022 · 6 comments
Labels
bug Something isn't working
Milestone

Comments

@AnotiaWang
Copy link

Describe the bug
When I type in the request input box, it lags a few seconds before the content actually goes into the request, and the app consumes a lot of CPU. You can see in the GIF below.

To Reproduce
Steps to reproduce the behavior:

  1. Open a proto
  2. Type something

(If any additional information needed, please point out)

Expected behavior
Input content should appear on the screen immediately

Screenshots
image
bandicam 2022-12-12 20-25-40-835

Envitonment

  • OS: Windows 11 22H2
  • ezy Version: 1.0.0-beta.13.2
@AnotiaWang AnotiaWang added the bug Something isn't working label Dec 12, 2022
@notmedia
Copy link
Contributor

@AnotiaWang thank you for reporting this! It's related to high priority issue #13. How many tabs you have opened?

@AnotiaWang
Copy link
Author

How many tabs you have opened?

About 5~6 tabs

@notmedia
Copy link
Contributor

notmedia commented Dec 12, 2022

Yeah, if you close all tabs and work only with one then will be CPU load reduced?

@AnotiaWang
Copy link
Author

Yes, and the lag will be much less recognizable

@notmedia
Copy link
Contributor

The problem here is in data persistence, right now all application data stored in single JSON file, each update causes to parse this file and rewrite it on disk. It's a big problem, I rebuild this as soon as possible.

@notmedia notmedia added this to the @next milestone Dec 12, 2022
@AnotiaWang
Copy link
Author

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants