win32pdutil.FindPerformanceAttributesByName slowness

Jonathan Epstein Jonathan_Epstein at nih.gov
Fri Jun 23 12:45:31 EDT 2000


Hi,

I'm running the sample killProcName.py which is provided with the
Windows' Python 1.52 (using Pythonwin build 129 and patches, from Mark
Hammond's web site).

There are 33 processes as reported by the Windows Task Manager.  I'm
running W2K on a 650 Mhz laptop with 256MB of RAM.

I have profiled killProcName.py, and it is consistently taking its call
to FindPerformanceAttributesByName 28 seconds (!) to run.

I saw a reference to a related problem, but no posted solution:
 
http://x59.deja.com/getdoc.xp?AN=589911330&CONTEXT=961778125.2116812828&hitnum=1

Any suggestions as to why this is occurring, or how I can track it down?

TIA,

-Jonathan



More information about the Python-list mailing list