Skip to content

Manage Environments loads slowly with many, large variables #5827

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

Closed
JP-from-Postman opened this issue Jan 25, 2019 · 28 comments · Fixed by #9206 or #9222
Closed

Manage Environments loads slowly with many, large variables #5827

JP-from-Postman opened this issue Jan 25, 2019 · 28 comments · Fixed by #9206 or #9222

Comments

@JP-from-Postman
Copy link

Please read through the guidelines before creating a new issue.

Describe the bug
The MANAGE ENVIRONMENTS view in app loads slowly when there are a high number of variables, and large values.

Example via Postman Support is:

  • ~87 global variables, all containing schemas
  • load time for MANAGE ENVIRONMENTS view reported to be 1+ minute(s)

To Reproduce

  • Create many global variables, populated with schemas as strings
  • Bring MANAGE ENVIRONMENTS view for global variables
  • Observe load time

Expected behavior
MANAGE ENVIRONMENTS view loads quickly, even when large number of variables containing larger values are present

App information (please complete the following information):

  • App Type: Native App
  • Postman Version: 6.7.1
  • OS: Windows
@numaanashraf numaanashraf changed the title MANAGEMENT ENVIRONMENTS loads slowly with many, large variables Manage Environments loads slowly with many, large variables Jan 25, 2019
@djblankinship
Copy link

I contacted Postman support about this issue and they directed me to this thread. I am seeing the problem using the Postman version 6.7.4 native app on Mac as well. In my case, I have several hundred environment variables that I am handling in the Manage Environments dialog.

@noorrahman
Copy link

Problem is still there for Mac version 7.0.9 of Postman.

@Ziv81
Copy link

Ziv81 commented Jun 3, 2019

I am using Postman 7.1.1 on Windows and still has this problem.

@andreaippo
Copy link

andreaippo commented Jun 15, 2020

Hi, this issue still exists and is impacting my daily work considerably, and I am sure that many other users feel the same way.
My postman installation (v7.26.0) on Windows 10 is painfully slow when loading the list of variables for an environment (a hundred of variables maybe, some of them are relatively big Json strings).
I'm talking about almost one minute from start to end to open the environments list by clicking on the cog icon, waiting for the list to load, waiting for the caret to appear on the variable value, updating the value, hitting ENTER, scrolling to the bottom of the list to find the Update button (which should be docked to the top or bottom and be always visible, by the way!).

Imagine having to repeat this several times per day, you can easily spend one hour just doing this.

Could you please consider fixing this urgently?

Thanks!

@mohitranka
Copy link

@andreaippo Sorry about the issue you are facing. The team has picked up the issue internally, and I am expecting it to be available for 7.30.0 or earlier. We will keep you posted.

@PaperBag42
Copy link

I am facing the same problem. My environment contains around 450 variables, but none of them are more than 25 characters long. So it's possible that the source of the problem is the amount of variables in the environment, not their size. I hope it helps.
My current solution is to edit the environment using the Postman API.

@saiudayakella
Copy link

saiudayakella commented Jul 26, 2020

@mohitranka - I'm still observing this problem on v 7.28.0. Can we expect a fix for this problem anytime soon?

Irrespective of number of variables in the selected environment, if the stored data is a bit big corresponding to 1 or 2 variables, Manage environments dialog hangs.

@txrackack
Copy link

Absolutely still happening as of v7.31.1 Problem is getting to the point if being unusable. You can't navigate away from the app even or the loss of focus will have you waiting again for minutes at a time. It's taking an otherwise great tool and making it pointless. Here's an awesome car but you going to have to remove the doors to get in and you have to put them back on to drive it...

@mefalamin
Copy link

I'm running v7.32.0, its lagging and consumes cpu more when i try to add or modify a variable

@zebahmad
Copy link

I'm on the Postman canary build Version 7.32.0-canary03 (7.32.0-canary03) ... The global variables hangs for a minute or more on my Mac, if i want to move them around and re-arrange them so that they similar variables are located near each other.

@seimnseimn
Copy link

Just upgraded to 7.32.0 version on macOS after not using it for a while and now it's unusable :(
Editing vars is very slow, rearranging is almost impossible. (No high CPU or Memory load though).

I have only about 50 vars in my current env (some are nested, very few are larger than 200 chars, max length of the largest is 600 chars)

@samuelj90
Copy link

samuelj90 commented Sep 25, 2020

@DannyDainton. Thanks for redirecting me to this thread. I'm still observing this problem on v7.32.0-canary04. Can we expect a fix for this problem anytime soon?

@curtisgibby
Copy link

I'm experiencing this issue on Linux Mint. I've got a crap-ton of environments, but not huge numbers of variables within any given environment, nor large string lengths within the variables themselves. Is there any work being done on this?

@samuelj90
Copy link

I can see that it is in the Bug Fixed list in canary but not seen much progress still facing same issue.

@DannyDainton
Copy link
Contributor

Hey @samuelj90 / @curtisgibby anyone else 😄 ,

Are you able to update the app to version 7.35.0 to see if this fix solves those issues for you?

If not, would you be able to provide a short recording of the behaviour you're seeing, please?

@djblankinship
Copy link

I am still seeing slow performance in the Manage Environments dialog in my environment using version 7.35.0 of Postman. I am using Here is a video that shows that although scrolling is faster than before, the initial load of the table rows and the editing of cells in the table are both still quite slow.

Video: https://bertram.d.pr/ANcFJL
Screen shot of specs for my Mac: https://bertram.d.pr/HO8F2d

@ikari7789
Copy link

ikari7789 commented Jan 14, 2021

Still having major issues re-ordering environment variables in 7.36.1 on Mac.

@mccannt
Copy link

mccannt commented Jan 18, 2021

@ikari7789 Can you try our Canary version and let us know if this has any impact? https://www.postman.com/downloads/canary/

@ikari7789
Copy link

@ikari7789 Can you try our Canary version and let us know if this has any impact? https://www.postman.com/downloads/canary/

Seems to be working great in the Canary version. I didn't know this existed. Thanks.

@mccannt
Copy link

mccannt commented Jan 18, 2021

@ikari7789 This is great news, we should have this improvement in our main application in the very near future. Thanks for confirming.

@vedkribhu
Copy link

In our latest release v10.10, we have rolled out some more performance improvements on the manage (environment/global/collection) variable table. In addition to some performance improvements, we have added filtering support as well.
Screenshot 2023-02-15 at 12 29 24 PM

@djblankinship
Copy link

djblankinship commented Feb 16, 2023 via email

@arlemi
Copy link
Collaborator

arlemi commented Feb 16, 2023

@djblankinship I just tried and I can see it on the web version, are you on a paid plan?

@djblankinship
Copy link

djblankinship commented Feb 16, 2023 via email

@djblankinship
Copy link

djblankinship commented Feb 16, 2023 via email

@vedkribhu
Copy link

@djblankinship we have identified an issue due to which you might be facing this. Can you verify if the filter is working fine in the builds here https://drive.google.com/drive/folders/1IWvfomtSzWxS6YPycQuzSY2NcgNT7lNr?usp=share_link. These are custom canary builds, we will push the fix as a hotfix once we are sure it solves all the problems.

@vedkribhu
Copy link

@djblankinship the fix is out for filter not working, you should be able to see the fix on the web, and on desktop app after restarting your app(v10.10.x app).
If you don't see the fix after restarting the app try clicking clear cache and reload.
Screenshot 2023-02-17 at 9 25 58 PM

@djblankinship
Copy link

djblankinship commented Feb 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet