Open bukajsytlos opened 2 years ago
Hi @bukajsytlos, thanks for reporting this issue. We're aware there's ongoing performance issues on insomnia when it comes to working with relatively large projects. Some folks have also reported similar issues in the past and the team is still finding ways to debug and improve performance over time.
Would you mind sharing a bit more details (in rough numbers):
Also if possible, if you can post the output of these commands, to get an idea of the sizes of your local Insomnia data folder:
ls -lah ~/.config/Insomnia
du -hs ~/.config/Insomnia
Project has around 10 environments and each defines 9 env variables + cca 20 base environment variables. Not sure if there is some easy way to count request but my estimate is 200+
drwxr-xr-x 18 kubo kubo 4,0K mar 31 10:09 .
drwxr-xr-x 16 kubo kubo 4,0K okt 21 2020 ..
drwx------ 3 kubo kubo 4,0K mar 30 09:49 blob_storage
drwx------ 3 kubo kubo 4,0K mar 18 13:45 Cache
drwx------ 4 kubo kubo 4,0K sep 16 2020 'Code Cache'
-rw-r--r-- 1 kubo kubo 9,0K mar 18 13:45 Cookies
-rw-r--r-- 1 kubo kubo 0 mar 18 13:45 Cookies-journal
drwx------ 2 kubo kubo 4,0K mar 18 13:43 Crashpad
drwx------ 2 kubo kubo 4,0K sep 16 2020 'Crash Reports'
drwx------ 2 kubo kubo 4,0K sep 16 2020 Dictionaries
drwxr-xr-x 2 kubo kubo 4,0K feb 16 2020 GPUCache
drwx------ 3 kubo kubo 4,0K okt 28 2020 Insomnia
-rw-r--r-- 1 kubo kubo 21K mar 31 10:09 insomnia.ApiSpec.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.ClientCertificate.db
-rw-r--r-- 1 kubo kubo 13K mar 31 10:27 insomnia.CookieJar.db
-rw-r--r-- 1 kubo kubo 21K mar 31 10:09 insomnia.Environment.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.GitRepository.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.GrpcRequest.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.GrpcRequestMeta.db
-rw-r--r-- 1 kubo kubo 26K mar 31 10:09 insomnia.OAuth2Token.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.PluginData.db
-rw-r--r-- 1 kubo kubo 147 mar 31 10:09 insomnia.Project.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.ProtoDirectory.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.ProtoFile.db
-rw-r--r-- 1 kubo kubo 1,2M mar 31 10:27 insomnia.Request.db
-rw-r--r-- 1 kubo kubo 60K mar 31 10:09 insomnia.RequestGroup.db
-rw-r--r-- 1 kubo kubo 42K mar 31 10:09 insomnia.RequestGroupMeta.db
-rw-r--r-- 1 kubo kubo 355K mar 31 10:27 insomnia.RequestMeta.db
-rw-r--r-- 1 kubo kubo 5,6M mar 31 10:09 insomnia.RequestVersion.db
-rw-r--r-- 1 kubo kubo 6,0M mar 31 10:27 insomnia.Response.db
-rw-r--r-- 1 kubo kubo 17M feb 28 2019 insomnia.Response.db.old
-rw-r--r-- 1 kubo kubo 3,8M okt 7 2019 insomnia.Response.db.old2
-rw-r--r-- 1 kubo kubo 1,5M nov 29 2019 insomnia.Response.db.old3
-rw-r--r-- 1 kubo kubo 3,0M júl 18 2020 insomnia.Response.db.old4
-rw-r--r-- 1 kubo kubo 8,1K mar 31 10:09 insomnia.Settings.db
-rw-r--r-- 1 kubo kubo 636 mar 31 10:27 insomnia.Stats.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.UnitTest.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.UnitTestResult.db
-rw-r--r-- 1 kubo kubo 0 mar 31 10:09 insomnia.UnitTestSuite.db
-rw-r--r-- 1 kubo kubo 2,3K mar 31 10:09 insomnia.Workspace.db
-rw-r--r-- 1 kubo kubo 7,6K mar 31 10:27 insomnia.WorkspaceMeta.db
drwxr-xr-x 2 kubo kubo 4,0K jan 30 2018 localStorage
drwxr-xr-x 3 kubo kubo 4,0K feb 28 2019 'Local Storage'
drwxr-xr-x 2 kubo kubo 4,0K mar 30 09:49 logs
-rw------- 1 kubo kubo 430 mar 30 09:30 'Network Persistent State'
-rw------- 1 kubo kubo 430 mar 31 2021 .org.chromium.Chromium.AFAwHF
-rw------- 1 kubo kubo 430 feb 24 2021 .org.chromium.Chromium.DMbDtN
-rw------- 1 kubo kubo 430 dec 2 17:23 .org.chromium.Chromium.DyZjyK
-rw------- 1 kubo kubo 430 feb 1 2021 .org.chromium.Chromium.EQCjUL
-rw------- 1 kubo kubo 430 jún 4 2021 .org.chromium.Chromium.f7PT1s
-rw------- 1 kubo kubo 430 feb 23 2021 .org.chromium.Chromium.gMo7An
-rw------- 1 kubo kubo 425 sep 20 2020 .org.chromium.Chromium.kMTLoH
-rw------- 1 kubo kubo 430 mar 26 2021 .org.chromium.Chromium.k9ydTo
-rw------- 1 kubo kubo 430 sep 5 2021 .org.chromium.Chromium.Noe9AW
-rw------- 1 kubo kubo 430 okt 7 14:10 .org.chromium.Chromium.nsnaeX
-rw------- 1 kubo kubo 430 sep 15 2021 .org.chromium.Chromium.OJ4CvO
-rw------- 1 kubo kubo 430 mar 4 2021 .org.chromium.Chromium.p1WeD6
-rw------- 1 kubo kubo 430 aug 18 2021 .org.chromium.Chromium.QlI80d
-rw------- 1 kubo kubo 425 okt 21 2020 .org.chromium.Chromium.vwXfCA
-rw------- 1 kubo kubo 430 dec 31 21:22 .org.chromium.Chromium.X74wAx
-rw------- 1 kubo kubo 425 nov 7 2020 .org.chromium.Chromium.yI5fUt
-rw------- 1 kubo kubo 425 okt 29 2020 .org.chromium.Chromium.0OD3PP
-rw------- 1 kubo kubo 430 jan 11 19:44 .org.chromium.Chromium.1m9vdn
-rw------- 1 kubo kubo 430 máj 6 2021 .org.chromium.Chromium.3L4Mxw
-rw------- 1 kubo kubo 425 okt 6 2020 .org.chromium.Chromium.5HbqDI
-rw------- 1 kubo kubo 425 sep 19 2020 .org.chromium.Chromium.8au2Se
-rw------- 1 kubo kubo 20K mar 29 2020 'Origin Bound Certs'
-rw------- 1 kubo kubo 0 mar 29 2020 'Origin Bound Certs-journal'
drwxr-xr-x 2 kubo kubo 4,0K okt 28 2020 plugins
-rw------- 1 kubo kubo 2,3K mar 30 09:49 Preferences
drwxr-xr-x 2 kubo kubo 484K mar 31 10:27 responses
drwx------ 2 kubo kubo 4,0K mar 25 16:14 'Session Storage'
lrwxrwxrwx 1 kubo kubo 20 mar 30 09:49 SingletonCookie -> 12774583952742472258
lrwxrwxrwx 1 kubo kubo 14 mar 30 09:49 SingletonLock -> millipede-3342
lrwxrwxrwx 1 kubo kubo 37 mar 30 09:49 SingletonSocket -> /tmp/scoped_dirVKRBgQ/SingletonSocket
drwxr-xr-x 3 kubo kubo 4,0K apr 23 2019 version-control
drwx------ 2 kubo kubo 4,0K jan 21 2019 webrtc_event_logs
Size of folder: 187M
Just do add another data point. I have the same exact issue. My Insomnia project has around 220 endpoints and 1 environment currently. That environment has around 15 variables set. This is occurring on Windows 10 with Insomnia 2022.3.0 (although I've noticed this for a few months now, at least.)
nicholas on no-dt in /c/Users/Nicholas/AppData/Roaming/Insomnia
$ ls -lah .
total 20M
drwxr-xr-x 1 Nicholas None 0 May 10 14:55 .
drwxr-xr-x 1 Nicholas None 0 May 10 10:28 ..
drwxr-xr-x 1 Nicholas None 0 May 10 10:14 blob_storage
drwxr-xr-x 1 Nicholas None 0 Mar 18 11:30 Cache
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 'Code Cache'
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 Dictionaries
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 GPUCache
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 Insomnia
-rw-r--r-- 1 Nicholas None 9.8M May 10 14:44 insomnia.ApiSpec.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.ClientCertificate.db
-rw-r--r-- 1 Nicholas None 72K May 10 14:44 insomnia.CookieJar.db
-rw-r--r-- 1 Nicholas None 12K May 10 14:44 insomnia.Environment.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.GitRepository.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.GrpcRequest.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.GrpcRequestMeta.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.OAuth2Token.db
-rw-r--r-- 1 Nicholas None 587 May 10 14:44 insomnia.PluginData.db
-rw-r--r-- 1 Nicholas None 147 May 10 14:44 insomnia.Project.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.ProtoDirectory.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.ProtoFile.db
-rw-r--r-- 1 Nicholas None 3.4M May 10 14:44 insomnia.Request.db
-rw-r--r-- 1 Nicholas None 164K May 10 14:44 insomnia.RequestGroup.db
-rw-r--r-- 1 Nicholas None 20K May 10 14:44 insomnia.RequestGroupMeta.db
-rw-r--r-- 1 Nicholas None 126K May 10 14:44 insomnia.RequestMeta.db
-rw-r--r-- 1 Nicholas None 1.1M May 10 14:44 insomnia.RequestVersion.db
-rw-r--r-- 1 Nicholas None 3.0M May 10 14:44 insomnia.Response.db
-rw-r--r-- 1 Nicholas None 8.7K May 10 14:44 insomnia.Settings.db
-rw-r--r-- 1 Nicholas None 322 May 10 14:44 insomnia.Stats.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.UnitTest.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.UnitTestResult.db
-rw-r--r-- 1 Nicholas None 0 May 10 14:44 insomnia.UnitTestSuite.db
-rw-r--r-- 1 Nicholas None 2.1K May 10 14:44 insomnia.Workspace.db
-rw-r--r-- 1 Nicholas None 6.1K May 10 14:44 insomnia.WorkspaceMeta.db
-rw-r--r-- 1 Nicholas None 389 Mar 17 14:50 'Local State'
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 'Local Storage'
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 localStorage
drwxr-xr-x 1 Nicholas None 0 May 10 10:14 logs
drwxr-xr-x 1 Nicholas None 0 May 10 14:55 Network
drwxr-xr-x 1 Nicholas None 0 Jan 25 12:26 plugins
-rw-r--r-- 1 Nicholas None 1.4K May 10 10:14 Preferences
drwxr-xr-x 1 Nicholas None 0 May 10 11:56 responses
drwxr-xr-x 1 Nicholas None 0 May 10 14:55 'Session Storage'
drwxr-xr-x 1 Nicholas None 0 Mar 18 12:07 Storage
drwxr-xr-x 1 Nicholas None 0 Nov 13 2020 version-control
nicholas on no-dt in /c/Users/Nicholas/AppData/Roaming/Insomnia
$ du -hs .
137M .
@bukajsytlos @nicholas-ochoa we've done a lot of performance improve recently and I've tried with hundreds of variables in environment and could not reproduce the issue. Could you please try the latest version and see if the performance issue still exists?
Although Insomnia 8.x+ is no go for me, I gave it a try for the sake of this issue and it is much better now.
Expected Behavior
Immediate autocomplete dropdown rendering ;)
Actual Behavior
https://user-images.githubusercontent.com/8619173/160228367-3b3877a8-4d55-40e8-a86f-1d9c46048a07.mp4
It also behaves weirdly, in that I often go to other request and suddenly drop-down appears and can't be dismissed other than choosing some value, which is than appended to my already filled out address bar path in previous request.
Reproduction Steps
No response
Is there an existing issue for this?
Additional Information
I can't share this project, but if I need to provide some extra info, please guide me.
Insomnia Version
2022.2.0
What operating system are you using?
Other Linux
Operating System Version
Manjaro
Installation method
aur
Last Known Working Insomnia version
No response