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

Pass PID list into wmic query to speed things up on Windows. #73

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

smcpeck
Copy link

@smcpeck smcpeck commented Jan 28, 2018

This is definitely a hack that only works when querying by PID, which is my use case. It'll partially address #60 and #68.

It sped things up on Windows from 19 seconds to 0.25 seconds. So it definitely works. Surely, it would be great if someone takes this concept and fills it out to handle other use cases.

@smcpeck
Copy link
Author

smcpeck commented Jan 30, 2018

Not sure why these tests are failing. After some investigation, it doesn't seem to be related to my changes.

@neekey neekey changed the base branch from master to develop April 8, 2018 00:16
@szikszail
Copy link

@neekey , @smcpeck would it be possible to kick these changes into gear? We really suffer from the bad performance when gathering info about only 1 process on Win and this would help a lot! THank you!

@smcpeck
Copy link
Author

smcpeck commented Aug 21, 2018

@szikszail I still have no idea why the unit tests were failing here. Maybe things are better now and I could merge develop back into my branch to give things a shot. This is something I can try and look at in a few weeks when I have a bit more free time.

Otherwise, maybe @neekey can manually fire off another run of the CI pipelines to see if things will pass now?

@smcpeck smcpeck changed the title Pass PID list into wmic query to speed things up on WIndows. Pass PID list into wmic query to speed things up on Windows. Dec 30, 2020
@aabluedragon
Copy link

aabluedragon commented Jan 15, 2023

This is very useful and works fine, should be merged.

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

Successfully merging this pull request may close these issues.

3 participants