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

Linux: speedup methods relying on /proc/pid/stat and /proc/pid/status #819

Closed
giampaolo opened this issue May 15, 2016 · 0 comments
Closed

Comments

@giampaolo
Copy link
Owner

giampaolo commented May 15, 2016

This has been done in various commits:

Some benchmarks:

  • Process.ppid() is 20% faster
  • Process.status() is 28% faster
  • Process.name() is 25% faster
  • Process.num_threads is 20% faster on Python 3
@giampaolo giampaolo changed the title Linux: speedup methods relying on /proc/pid/stat and /proc/pid/statuse Linux: speedup methods relying on /proc/pid/stat and /proc/pid/status May 18, 2016
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