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

Remove unneeded wait periods #114

Merged
merged 3 commits into from Dec 19, 2018
Merged

Remove unneeded wait periods #114

merged 3 commits into from Dec 19, 2018

Conversation

vexx32
Copy link
Owner

@vexx32 vexx32 commented Dec 19, 2018

  • Removes Start-Sleep periods from Show-MeditationPrompt
  • Removes small waiting period from Invoke-Koan so that it can return as soon as it detects the threaded job's completion.

/cc @markekraus @thomasrayner

- Now should return pretty much as soon as the threaded task is completed
- Remove reference to runspacePool that isn't being used here.
@vexx32 vexx32 self-assigned this Dec 19, 2018
@vexx32 vexx32 added PR-Needs-Review 🔍 Let's take a closer look! Category-Module Pertaining to the module's functionality itself. labels Dec 19, 2018
@vexx32 vexx32 added this to the v0.43.0 milestone Dec 19, 2018
@thomasrayner
Copy link
Contributor

@vexx32 Did you notice much of a performance increase after making this change? Super curious about it. I was planning on digging into Measure-Karma to see if I could speed it up... but if you just did...

steviecoaster
steviecoaster previously approved these changes Dec 19, 2018
Copy link
Collaborator

@steviecoaster steviecoaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should work as advertised. I don't see any issues here.

@steviecoaster
Copy link
Collaborator

Get those checks working so you can merge it :)

@vexx32
Copy link
Owner Author

vexx32 commented Dec 19, 2018

@thomasrayner it helps somewhat. If you want to speed it up any further than this, you probably can, but check into Invoke-Koan.ps1 instead; that's likely where the biggest gains and losses are to be had. 😄

@vexx32 vexx32 merged commit e99977b into master Dec 19, 2018
@vexx32 vexx32 deleted the PerfImprovements branch December 19, 2018 17:41
@vexx32 vexx32 removed the PR-Needs-Review 🔍 Let's take a closer look! label Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Module Pertaining to the module's functionality itself.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants