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

Insomnia very slow and hangs on a >6000 line file #4241

Closed
1 task done
chaosKP opened this issue Nov 23, 2021 · 9 comments
Closed
1 task done

Insomnia very slow and hangs on a >6000 line file #4241

chaosKP opened this issue Nov 23, 2021 · 9 comments
Labels
B-bug Bug: general classification B-performance Bug: performance issues S-verified Status: Verified by maintainer

Comments

@chaosKP
Copy link

chaosKP commented Nov 23, 2021

Expected Behavior

If the DESIGN is used the toggle of a menu entry inside the preview is nearly instantious.
If a change is made inside the editor the lag is neglectable (1-2 seconds).

Actual Behavior

If a path entry inside the preview is toggled it takes up to 5 seconds to respond.
If a change is made inside the editor it takes more than 25 seconds until the tool is updated and responsive again.

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

There is no difference if Preview is On or Off.

We also tried a local version of swagger editor and the expected behavior is given

Insomnia Version

2021.6.0

What operating system are you using?

Windows

Operating System Version

Windows 10 Build 19043

Installation method

download from insomnia.rest

@chaosKP chaosKP added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Nov 23, 2021
@tuscen
Copy link

tuscen commented Jan 8, 2022

Can confirm, the same behaviour on macOS 12.1 on Macbook with Intel Core i7. I have an openapi schema with 17k lines and Insomnia handles it very badly. Changing from design to debug tab can take up to several seconds (4-6 seconds).

Version: Insomnia 2021.7.2
Release date: 12/10/2021
OS: Darwin x64 21.2.0
Electron: 11.2.3
Node: 12.18.3
V8: 8.7.220.31-electron.0
Architecture: x64
node-libcurl: libcurl/7.73.0 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.9 zstd/1.4.9 libidn2/2.1.1 libssh2/1.9.0 nghttp2/1.42.0

@filfreire filfreire added the B-performance Bug: performance issues label Jan 25, 2022
@poiuytrez
Copy link

poiuytrez commented Apr 8, 2022

I struggle to edit a 1.2k lines file in the design tab. Every time I type a few characters, the editor hangs for about 5-10 seconds which makes the edition very painful.

This is what I often get:
Screenshot 2022-04-08 at 10 20 44

Any tip to disable real-time syntax checking is welcome.

Version: Insomnia 2022.2.1
Release date: 3/21/2022
OS: Darwin x64 20.6.0
Electron: 17.1.0
Node: 16.13.0
V8: 9.8.177.11-electron.0
Architecture: x64

I am on macOS 11.6.5 on Macbook Air 2018.

@ArnaudPel
Copy link

Same issue on macOS 12.3.1 on MacBook Air M1, 2020.

Version: Insomnia 2022.2.1
Release date: 3/21/2022
OS: Darwin arm64 21.4.0
Electron: 17.1.0
Node: 16.13.0
V8: 9.8.177.11-electron.0
Architecture: arm64

@ChristoNel
Copy link

I see the same issue on my Windows machine after downloading the latest version.
My file though is allot smaller with juts 2500 lines.

After opening up the .yaml file Insomnia simply becomes unresponsive and I need to close it.

image

image

@filfreire filfreire added S-verified Status: Verified by maintainer and removed S-unverified Status: Unverified by maintainer labels May 27, 2022
@filfreire filfreire changed the title Insomnia DESIGN very slow and hangs on a >6000 line file Insomnia very slow and hangs on a >6000 line file Aug 17, 2022
@GeoffreyCoulaud
Copy link

Happens to me too, this issue is still relevant.
I tried it with the Jellyfin OpenAPI:

https://api.jellyfin.org/openapi/jellyfin-openapi-stable.json

@subnetmarco
Copy link
Member

We are actively working to solve this issue, stay tuned.

@CurryYangxx
Copy link
Member

We optimized for this in version 9.2, now file opening and editing are now faster

@cdbuescher
Copy link

I have v 9.2 and this issue is still happening.
It takes more than 25 seconds until the tool is updated and responsive again.

@CurryYangxx
Copy link
Member

I have v 9.2 and this issue is still happening. It takes more than 25 seconds until the tool is updated and responsive again.

Hi @cdbuescher .Could you please describe in detail what‘s you operation and how you reproduce the issue, I try to edit a more than 10000 lines file and no non-response occurred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification B-performance Bug: performance issues S-verified Status: Verified by maintainer
Projects
None yet
Development

No branches or pull requests

10 participants