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
I am using function show_growth to find memory leak in my project. Howerver, at the moment, the result outputs to stdout or file.I just wonder if we can return the result, with which we can automaticly detech memory leak when regression testing.
To achieve the target, I have two suggestion. First, simple but ungraceful, just return deltas in function show_growth. Second, adding a function get_growth, which return the increasing deltas, and the function show_growth just output the increasing deltas
The text was updated successfully, but these errors were encountered:
I am using function
show_growth
to find memory leak in my project. Howerver, at the moment, the result outputs to stdout or file.I just wonder if we can return the result, with which we can automaticly detech memory leak when regression testing.To achieve the target, I have two suggestion. First, simple but ungraceful, just return
deltas
in functionshow_growth
. Second, adding a functionget_growth
, which return the increasing deltas, and the functionshow_growth
just output the increasing deltasThe text was updated successfully, but these errors were encountered: