You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a reminder ticket to continue the discussion started in #2366.
Recap: on Windows we use NtQuerySystemInformation(SystemProcessInformation) to collect multiple process info about all PIDs (Windows is the only platform which allows this). This data structure is used on a per-process basis, meaning it's discarded (or to put it another way, it's unnecessarily fetched for every Process instance).
psutil.process_iter() could be tweaked in a way that it passes the entire structure to the Process instances, and this way we would have a performance boost. In detail, read the considerations written in #2366 (comment).
The text was updated successfully, but these errors were encountered:
This is a reminder ticket to continue the discussion started in #2366.
Recap: on Windows we use
NtQuerySystemInformation(SystemProcessInformation)
to collect multiple process info about all PIDs (Windows is the only platform which allows this). This data structure is used on a per-process basis, meaning it's discarded (or to put it another way, it's unnecessarily fetched for everyProcess
instance).psutil.process_iter()
could be tweaked in a way that it passes the entire structure to theProcess
instances, and this way we would have a performance boost. In detail, read the considerations written in #2366 (comment).The text was updated successfully, but these errors were encountered: