bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

memory graph should illustrate growth better

RESOLVED INVALID

Status

DevTools
Performance Tools (Profiler/Timeline)
RESOLVED INVALID
3 years ago
a month ago

People

(Reporter: jsantell, Unassigned)

Tracking

(Blocks: 1 bug)

37 Branch
x86
Mac OS X
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

Created attachment 8585074 [details]
memory double

It seems that the memory graph always looks "full"; the y axis is plotted from 0 to the memory high point, which does not highlight useful information. In this image, memory doubles from 2mb to 4mb, yet the graph is just a steady incline, when it should be more jarring. If I had a complex web app that goes from 300mb to 350mb, since the y-axis is 0 bound, it again would be a small slope.

If we render from the min to the max memory points, I think it'd illustrate growth and mem problems more clearly.
Created attachment 8585075 [details]
chrome memory

For example, in Chrome, this memory usage graph is min 7mb, max 10mb, with a steeper incline. Looks like the bottom point of their y-axis is slightly lower than the min point.
(Reporter)

Updated

3 years ago
Blocks: 1145697
Because we poll very infrequently.
Couple of things we could do here:
1. have graph's lower bound be min memory (as you suggested in comment 0)
2. don't plot values linearly; squaring or cubing could show more dramatic slopes
3. plot allocation pressure (along with or instead of) of memory usage
Would be interested in seeing allocation pressure (I believe fitzgen had this in his memory panel mockup). Should be easy enough to prototype

Another thing that would help, I think, is tweaking the design/colors -- it's kind of crushed between two other graphs and it's difficult (for me) to contextualize the growth as all the timeline graphs blend together
Created bug 1148836 for allocations view for future discussion (screenshot, patch)
(In reply to Victor Porof [:vporof][:vp] from comment #3)
> 2. don't plot values linearly; squaring or cubing could show more dramatic
> slopes

I think that way you lose 90% of your audience. In my experience few people can understand non-linear plots without spending some effort to comprehend it. Linear graphs on the other hand are more natural to most people.
(Reporter)

Updated

3 years ago
Blocks: 1149846
(Reporter)

Updated

3 years ago
Depends on: 1149630
Since the styling changes, I'm happier with this. Closing, please reopen if you think this needs to be changed.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID

Updated

a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.