Skip to content

Slowdown of desktop app #8664

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
ZacharyKearns opened this issue Jun 15, 2020 · 14 comments
Closed

Slowdown of desktop app #8664

ZacharyKearns opened this issue Jun 15, 2020 · 14 comments

Comments

@ZacharyKearns
Copy link

ZacharyKearns commented Jun 15, 2020

Describe the bug
The desktop app feels much less responsive after the latest update. I use the app on both Windows 10 and macOS High Sierra. The CPU usage is normal when the app is open but not being used but spikes to between 50-75 % when trying to do even simple things in the app like send a request.

To Reproduce
Steps to reproduce the behavior:

  1. Open app
  2. Open request
  3. Select environment
  4. Send request

Expected behavior
App performed well and was responsive up until the latest release.

Screenshots
If applicable, add screenshots to help explain your problem. Please make sure the screenshot does not contain any sensitive information such as API keys or access tokens.

App information (please complete the following information):

  • Native app

  • 7.26.0

  • Windows 10 1809

  • Native app

  • 7.26.0

  • macOS High Sierra 10.13.6

Additional context
Add any other context about the problem here.

@numaanashraf
Copy link
Member

@ZacharyKearns Would it be possible to record and share a performance profile? It'll help us triage the issue and resolve as soon as possible.

Here's the how-to on recording a profile: https://www.loom.com/share/01e103f8511549ec93e22ff2afb2769e

@j-fbriere
Copy link

I have witnessed the same change after the last update on my machine.
Everything feels sluggish with the UI of the desktop application.
For instance, modifying a variable from an environment is very slow.

On Postman for Windows Version 7.26.0
On Windows 10 Pro Version 2004

@marionzr
Copy link

marionzr commented Jun 15, 2020

Same version same problem.
On Postman for Windows Version 7.26.0
On Windows 10 Pro Version 64-bit 16GB RAM Core i7-3630QM
https://www.loom.com/share/6d6cf94869aa4c63ab5ca4f0b6d35041

@numaanashraf
Copy link
Member

@j-fbriere @marionzr Could you share a performance profile as well? It'll help us triage the issue and resolve as soon as possible.

Here's the how-to on recording a profile: https://www.loom.com/share/01e103f8511549ec93e22ff2afb2769e

@ZacharyKearns
Copy link
Author

ZacharyKearns commented Jun 16, 2020

macOS

Profile-20200616T000858.json.zip

@j-fbriere
Copy link

j-fbriere commented Jun 16, 2020

I created a profile of the modification of a variable from an environment.

On Postman for Windows Version 7.26.0
On Windows 10 Pro 64-bit Version 2004, 32 GB RAM, Core i7-8750H

Profile-20200616T002703.json.gz

@kamalaknn
Copy link
Member

Hey @ZacharyKearns

Thanks for the performance profile. We are investigating the issue.

It looks like there is performance degradation with the Two Pane layout. While we continue to investigate this issue, could you switch to the Single Pane layout to continue with your workflows?

@ZacharyKearns
Copy link
Author

@kamalaknn I just tried single pane and the performance is much better, will use that for now.

@kamalaknn
Copy link
Member

Hey @j-fbriere

From your profile, I could see that you are facing performance issues when loading Manage Environments dialog. We are tracking this in #5827.

@yus-erdo
Copy link

yus-erdo commented Jun 16, 2020

It looks like there is performance degradation with the Two Pane layout. While we continue to investigate this issue, could you switch to the Single Pane layout to continue with your workflows?

Came to file this issue and this fixed the problem. Let me know if you need my profiling too.

@kamalaknn
Copy link
Member

Hey @erdogany

It would be great if you can share the profile. It will help us verify the cause.

@berk-can
Copy link

using single pane mod really helped me thank you so much for the idea @kamalaknn
Knowing that this app is open-source, I can be very OK with using in single pane mode, I wish you find problem easily, thanks again for the amazing tool postman team

@kamalaknn
Copy link
Member

Thanks @berk-can @erdogany @ZacharyKearns for the confirmation. We are working on a fix for this and will be released on the stable channel soon.

The Canary channel has this fix and some improvements to pane layout as well if you'd like to give it a try.

@kamalaknn
Copy link
Member

This fix is now available in the stable channel as well in the latest version 7.26.1.

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

No branches or pull requests

7 participants