flask-debugtoolbar icon indicating copy to clipboard operation
flask-debugtoolbar copied to clipboard

Memory allocation panel

Open mgood opened this issue 13 years ago • 0 comments

It would be nice to have a panel to profile memory usage like Dozer

Like the existing profiler panel, this should be disabled by default.

mgood avatar Feb 15 '12 17:02 mgood

Try if this works for you :smiley:

joni1993 avatar Oct 19 '20 10:10 joni1993

@joni1993 Having one filter field per object type (i.e. one for devices and one for VMs) would be nice. What do you think?

luto avatar Oct 19 '20 10:10 luto

Hm, i don't know - i think multiple filter fields are a bit confusing. Normally you want to apply the filter to all objects - if you need two filters i think cloning the import source may be cleaner (one for the devices, one for the vms).

We could also convert the two yes/no boxes to one select box like => Import: [Devices and VMs, only Devices, only VMs]

joni1993 avatar Oct 19 '20 10:10 joni1993

Cloning the import source is exactly what we currently do. But this looks promising.

bb-Ricardo avatar Oct 19 '20 19:10 bb-Ricardo

tried it out with virtual machines but getting this response now. image

bb-Ricardo avatar Oct 19 '20 21:10 bb-Ricardo

That's interesting, this line wasn even touched - I will try again with VMs only, fetching both worked for me today.

joni1993 avatar Oct 19 '20 21:10 joni1993

Could it be that your filter is too restrictive and the result is empty? I can see why the listColumns should fail if data is returned - anyway this shouldn't happen of course.

joni1993 avatar Oct 19 '20 21:10 joni1993

Could it be that your filter is too restrictive and the result is empty? I can see why the listColumns should fail if data is returned - anyway this shouldn't happen of course.

This might be the case. Will test again:

bb-Ricardo avatar Oct 19 '20 23:10 bb-Ricardo

Couldn't reproduce it even with a filter that returns zero elements.

joni1993 avatar Oct 20 '20 16:10 joni1993

Thank you for taking the time to test this.

Will have a look to see what the response contains.

bb-Ricardo avatar Oct 26 '20 15:10 bb-Ricardo