Open Bug 933006 (realtime-memory-vis) Opened 11 years ago Updated 2 years ago

Real Time Memory Visualization

Categories

(DevTools :: Memory, enhancement, P3)

x86
macOS
enhancement

Tracking

(Not tracked)

People

(Reporter: akratel, Unassigned)

References

Details

(Whiteboard: [status:planned].[dependency: marketplace-partners][MemShrink:P2])

User Story

As a web/app developer I would like to have a way to have a non-intrusive way to monitor the memory consumption of my app in real time so that I can build a general awareness of the memory consumption of my app.

Acceptance Criteria:
- widget that gives a useful memory consumption overview (Needs a lot of discussion as to what is useful, additional user stories.) Good to start with total JS memory footprint, DOM memory footprint, and graphic footprint.
- located in a non-intrusive location, for example developer toolbar
- Not on in non-developer mode
As a web/app developer I would like to have a way to have an non-intrusive way to monitor the memory consumption of my app in real time so that I can build a general awareness of the memory consumption of my app.

Acceptance Criteria:
- widget that gives a useful memory consumption overview (Needs a lot of discussion as to what is useful, additional user stories.) Good to start with total JS memory footprint, DOM memory footprint, and graphic footprint.
- located in a non-intrusive location, for example developer toolbar
- Not on in non-developer mode
Flags: pm-scrub?
Assignee: nobody → akratel
Flags: pm-scrub? → pm-scrub+
Status: NEW → ASSIGNED
Blocks: 962304
Depends on: 960671
Component: Developer Tools → Developer Tools: User Stories
User Story: (updated)
User Story: (updated)
Whiteboard: [User Story], [mockup] → [User Story], [mockup][dependency: marketplace-partners]
Whiteboard: [User Story], [mockup][dependency: marketplace-partners] → [User Story], [mockup][dependency: marketplace-partners][MemShrink:P1]
We can probably add a graph in the performance panel. I'll see what we can do here.

In the meantime, you might want to use WebIDE's monitor: https://developer.mozilla.org/en-US/docs/Tools/WebIDE/monitor
Whiteboard: [User Story], [mockup][dependency: marketplace-partners][MemShrink:P1] → [status:planned].[dependency: marketplace-partners][MemShrink:P1]
(In reply to Axel Kratel from comment #0)
> As a web/app developer I would like to have a way to have an non-intrusive
> way to monitor the memory consumption of my app in real time so that I can
> build a general awareness of the memory consumption of my app.
> 
> Acceptance Criteria:
> - widget that gives a useful memory consumption overview (Needs a lot of
> discussion as to what is useful, additional user stories.) Good to start
> with total JS memory footprint, DOM memory footprint, and graphic footprint.
> - located in a non-intrusive location, for example developer toolbar
> - Not on in non-developer mode

We will integrate a graph in the timeline or the perf tool in bug 1066361.

But we won't address the "non-intrusive location" requirement. Which might happen later if we consider having a widget is indeed a thing we want.
Whiteboard: [status:planned].[dependency: marketplace-partners][MemShrink:P1] → [status:planned].[dependency: marketplace-partners][MemShrink:P2]
No longer blocks: 962304
Assignee: akratel → nobody
Status: ASSIGNED → NEW
Component: Developer Tools: User Stories → Developer Tools: Memory
Flags: pm-scrub+
Product: Firefox → DevTools
Wondering if the current work to integrate the memory into perf.html would make this obsolete. This isn't exactly the same thing obviously, but would still give an idea of how much memory a webapp uses over time.
Priority: -- → P3
(In reply to Julien Wajsberg [:julienw] from comment #4)
> Wondering if the current work to integrate the memory into perf.html would
> make this obsolete.

This may also be solved by the work planned to show memory usage in about:performance (bug 1450363).

Chrome also has an interesting preview in the memory panel for this. Real-time is the key here (vs profiling).

Type: defect → enhancement
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.