luigimarmo / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Speed up Process.name on Windows #426

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://stackoverflow.com/questions/6587036/alternative-to-psutil-processpid-name

Original issue reported on code.google.com by g.rodola on 10 Sep 2013 at 6:03

GoogleCodeExporter commented 8 years ago
Fixed in revision 46552ff6ac2b. 
I kind of regret having discovered such an outstanding issue this late, also 
because I think it had a considerable impact since that:

- the old implementation was *very* slow (something like 100+ times slower)
- Process.name is one of the most used properties/functions, also indirectly 
(e.g. every time __str__ is invoked)

Shame on me.

Original comment by g.rodola on 10 Sep 2013 at 7:20

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 10 Sep 2013 at 7:21

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 28 Sep 2013 at 10:06

GoogleCodeExporter commented 8 years ago
Closing out as fixed. Release 1.1.0 is now available for download.

Original comment by g.rodola on 28 Sep 2013 at 5:32