Skip to content

Process.is_running() speedup #59

Closed
@giampaolo

Description

From billiej...@gmail.com on July 14, 2009 17:59:42

The current is_running() implementation relies on __eq__ which performs a
comparison against all the properties of two Process object instances in
pure Python.

By doing some benchmarks it is easily noticeable how a call to this method
takes a lot more time if compared to other Process methods/properties calls.

It would be worthy trying to find alternative approaches to speedup the
current implementation.

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

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions