Reputation: 483
Are there any specific Python libraries to quantify practically both space (memory consumption) and time complexity (time consumption) of a specific function in Python 3.x, by providing avg/max/min stats?
Upvotes: -2
Views: 243
Reputation: 7980
You can find the memory usage of a process using the os and psutil libraries according to the answer given here.
os
psutil
Upvotes: 1