pythonprofilers / memory_profiler

Monitor Memory usage of Python code
http://pypi.python.org/pypi/memory_profiler
Other
4.39k stars 380 forks source link

Question about the meaning of the statistics when occurence > 1 #328

Open jinluyang opened 3 years ago

jinluyang commented 3 years ago

the document in README doesn't explain about what the program performs when occurence > 1. After reading https://github.com/pythonprofilers/memory_profiler/blob/89e279ae5ad50b6e5cee07aed0746d1421b0a811/memory_profiler.py#L671 I want to confirm if I am right: I guess in this situation, the "Mem usage" means the maximum memory usage of every time the current line is run. The "Increment" means the accumulated sum of historical Increment of memory of current line. Am I right?