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

Even simple commands take up to one minute to run in windows #2909

Closed
terrafied opened this issue Jun 30, 2021 · 4 comments
Closed

Even simple commands take up to one minute to run in windows #2909

terrafied opened this issue Jun 30, 2021 · 4 comments
Labels
Bug Bug reports and fixes. Stale Issues and PRs that haven't had activity in 60 days.

Comments

@terrafied
Copy link

Describe the Bug

Commands take an extremely long time in windows. This is related to the MacOS disparity (See: #1951 ) but at a scale of 10x the disparity.

For example, #1951 illustrates this disparity with bolt --version taking 0.5 seconds on Linux and 1.7 seconds on MacOS. The same command takes 12.5 seconds on Windows.

Similarly, #1951 notes bolt task show taking 1.7 seconds on Linux and 3.3 seconds on MacOS. The same command takes 38.5 seconds on windows.

I routinely run commands that take almost a whole minute.

Expected Behavior

Commands should run within one standard deviation of the average command response time of the environment one is working in. This should apply to Windows, but also MacOS and Linux. I don't think there's as much value in comparing response times in different OSes as there is comparing times across contexts in the same OS. Bolt should respond within the expected response time of a Windows user when in Windows, and the expected response time of a MacOS user on a Mac.

Despite that argument, having a 30-45 second response time for a simple command is an obvious failure of usability.

Steps to Reproduce

Steps to reproduce the behavior:

Measure-Command { bolt --version }
Measure-Command { bolt task show }

Environment

  • Bolt Version: 3.1.0
  • Platform: Win10 Version 10.0.19042 Build 19042
  • Powershell: 5.1.19041.1023

Additional Context

Filed as a different ticket than #1951 because that seemed to indicate the use of Bundler and a MacOS-specific path of resolution.

@terrafied terrafied added the Bug Bug reports and fixes. label Jun 30, 2021
@terrafied
Copy link
Author

Response times are analogous in Powershell 7.1.

PS C:\Projects\ANPC\Boltdir> Measure-Command { bolt plan show }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 41
Milliseconds      : 67
Ticks             : 410676353
TotalDays         : 0.000475319853009259
TotalHours        : 0.0114076764722222
TotalMinutes      : 0.684460588333333
TotalSeconds      : 41.0676353
TotalMilliseconds : 41067.6353

@beechtom
Copy link
Contributor

@johnmetta Thank you for filing this issue. We're aware of performance differences on Windows and have been working on finding ways to improve this. The most relevant open PR you can follow is #2291

@github-actions
Copy link

This issue has not had activity for 60 days and will be marked as stale.
If this issue continues to have no activity for 7 days, it will be closed.

@github-actions github-actions bot added the Stale Issues and PRs that haven't had activity in 60 days. label Jul 29, 2022
@github-actions
Copy link

github-actions bot commented Aug 6, 2022

This issue is stale and has been closed. If you believe this is in error,
or would like the Bolt team to reconsider it, please reopen the issue.

@github-actions github-actions bot closed this as completed Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug reports and fixes. Stale Issues and PRs that haven't had activity in 60 days.
Projects
None yet
Development

No branches or pull requests

2 participants