Commit Graph
26 Commits
Author SHA1 Message Date
Nick Fitzgerald 07140c5952 Bug 1229229 - Display dominator trees in the memory tool's UI; r=jsantell
This patch overhauls the memory tool's frontend from being in a state of viewing
a snapshot's census (the implicit default) or viewing a census diff (a special
cased kind of thing) to one of three recognized view states: (1) census, (2)
diffing, or (3) dominator tree. The logic surrounding our current view is more
explicit now. View option (3) is the new one, whose introduction required those
clean ups.

Dominator trees are too large to render in full, all at once. Instead, we
eagerly load and render a few levels deep and then incrementally fetch further
subtrees as their parents are expanded in the UI. This means that we get new
Tree component instances across incremental fetches. Before this commit, the
Tree component stored a bunch of state internally (in this.state rather than
this.props) and we would lose focus and expansion state across incremental
fetches. This internal state has been pulled out and made as explicit props,
which are now managed by actions and reducers just like the rest of the state.
2016-01-13 12:27:30 -08:00
Jordan Santell 7c2a9c7bfe Bug 1219544 - Decouple the react Frame component from the memory view and pull out source utilities from frame utilities in performance tool. r=fitzgen 2015-12-29 13:23:05 -05:00
Jordan Santell 6a789d3281 Bug 1226319 - pt1 - Move react tree widget in memory tool to shared components. r=fitzgen 2015-11-20 17:50:31 -08:00
Nick Fitzgerald 4b31b8ec90 Bug 1224760 - Improve tree rendering performance by throttling handlers to once per animation frame; r=jsantell
React.set{State,Props} is supposed to be buffered and only actually trigger a
re-render once per animation frame, but ends up still doing a lot of mysterious
and expensive things. We can't tolerate that in our event handlers (especially
scoll handlers) so instead this commit ensures that they will only happen once
and on the next animation frame.
2015-11-13 16:53:11 -08:00
Nick Fitzgerald 6e8a59c912 Bug 960780 - Add support for diffing heap snapshots to the memory tool frontend; r=jsantell,ntim 2015-11-13 11:20:45 -08:00
Jordan Santell b9de55d5f3 Bug 1215953 - Add feature for importing heap snapshots into the memory
tool. r=fitzgen,ntim
2015-11-11 16:05:46 -08:00
Nick Fitzgerald 7825093ee8 Bug 1221150 - Disable automatic expanding of memory tool's tree items; r=jsantell 2015-11-04 17:51:41 -08:00
Nick Fitzgerald 1d36133f90 Bug 1221673 - Add support for filtering censuses to memory tool's frontend; r=jsantell,vporof 2015-11-04 16:12:31 -08:00
Nick Fitzgerald bf1425e82c Bug 1219820 - Do not try and select the hidden root when navigating the heap view tree with keyboard shortcuts; r=jsantell 2015-10-29 17:28:32 -07:00
Nick Fitzgerald df49d1fe20 Bug 1218670 - Add % to heap view tree items; r=jsantell 2015-10-29 17:21:06 -07:00
Nick Fitzgerald 4cf9fcfae1 Bug 1219421 - Guide users to recording allocations when no allocation stacks are present; r=jsantell 2015-10-29 01:32:08 -07:00
Jordan Santell 7255853c71 Bug 1214799 - Localization strings for the memory tool. r=fitzgen 2015-10-29 00:07:07 -07:00
Jordan Santell 24d35cb49a Bug 1219073 - part 2 - Add styling and link to the debugger of SavedFrames in memory tool tree. r=fitzgen 2015-10-28 22:16:13 -07:00
Jordan Santell 2f8fcd5b96 Bug 1217946 - Fix all validation failures and deprecated components. r=fitzgen 2015-10-28 16:11:05 -07:00
Wes Kocher 77d033ce79 Backed out changeset 06a16359bcec (bug 1217946) for m(dt) bustage 2015-10-28 14:51:00 -07:00
Jordan Santell 184ce4ea83 Bug 1217946 - Fix all validation failures and deprecated components. r=fitzgen 2015-10-28 13:05:35 -07:00
Nick Fitzgerald 39e8afd796 Bug 1219071 - Cache the results of the dfs when rendering the tree widget; r=jsantell 2015-10-28 10:20:32 -07:00
Jordan Santell fe90e2f112 Bug 1218674 - Style heap view states and overall tree. r=fitzgen 2015-10-27 17:48:18 -07:00
Nick Fitzgerald dabd8ea7a6 Bug 1218592 - Add more robust error handling and reporting to the memory tool's actions; r=jsantell 2015-10-27 13:24:55 -07:00
Jordan Santell 0c27d94313 Bug 1217239 - Style the heap widget in memory tools. r=fitzgen 2015-10-26 22:40:45 -07:00
Jordan Santell fa03b16c29 Bug 960776 2015-10-26 10:13:49 -07:00
Sebastian Hengst 03335e8f37 Backed out changeset 335ea7a95492 (bug 960776) for XPCShell failures. r=backout 2015-10-24 10:43:41 +02:00
Jordan Santell f53ca49076 Bug 960776 - Render a tree widget to display heap data. r=fitzgen 2015-10-23 15:59:11 -07:00
Jordan Santell 67e1c5f570 Bug 1214800 - Add MPL 2.0 licensing information to all memory tool files. r=fitzgen 2015-10-21 07:57:10 -07:00
Jordan Santell bfcab06bb6 Bug 1215397 - Add state and UI for breakdowns in memory tool. r=fitzgen 2015-10-19 13:57:33 -07:00
Jordan Santell 484a86ad0f Bug 1214872 - Set up state changes in the memory tool. r=fitzgen 2015-10-16 15:16:55 -07:00