Closed GoogleCodeExporter closed 9 years ago
Fixed in revision f8c40e7ecbab.
Some benchmarks:
===============================================================================
function 1.2.1 2.0.0 unit
===============================================================================
psutil.cpu_percent 101 44.5 msec per loop
psutil.cpu_times 59.2 41 usec per loop
psutil.cpu_times_percent 101 76.5 msec per loop
psutil.disk_io_counters 213 228 usec per loop
psutil.disk_partitions 103 80.1 usec per loop
psutil.disk_usage 6.02 6.4 usec per loop
psutil.get_boot_time 53 39.3 usec per loop
psutil.get_pid_list 236 199 usec per loop
psutil.get_users 50.8 52.3 usec per loop
psutil.net_io_counters 97.1 100 usec per loop
psutil.pid_exists 1.13 1.26 usec per loop
psutil.process_iter 11.4 9.45 msec per loop
psutil.swap_memory 81.6 57.7 usec per loop
psutil.virtual_memory 57.7 44.3 usec per loop
===============================================================================
Process class methods benefit of similar speedups.
Closing this out.
Original comment by g.rodola
on 22 Feb 2014 at 1:34
Closing out as fixed as 2.0.0 version is finally out.
Original comment by g.rodola
on 10 Mar 2014 at 11:36
Original issue reported on code.google.com by
g.rodola
on 15 Feb 2014 at 3:00