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

Implement a cache for psutil.process_iter() #287

Closed
giampaolo opened this issue May 23, 2014 · 2 comments
Closed

Implement a cache for psutil.process_iter() #287

giampaolo opened this issue May 23, 2014 · 2 comments

Comments

@giampaolo
Copy link
Owner

From g.rodola on June 19, 2012 21:48:05

Currently process_iter() creates a new Process instance every time is used.
Now that we cache certain process information ( issue 283 ) it seems natural to 
implement a cache also process_iter().

Other than making process_iter() faster, an internal cache can also help users 
which no longer have to maintain a list/map of process instances in their code, 
as we currently do in examples/top.py: 
https://code.google.com/p/psutil/source/browse/tags/release-0.4.1/examples/top.py#74
 This is now committed in r1355 .

Original issue: http://code.google.com/p/psutil/issues/detail?id=287

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on June 27, 2012 11:54:03

0.5.0 is finally out. Closing out as fixed.

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:09:33

Updated csets after the SVN -> Mercurial migration: r1355 == revision ???

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

1 participant