Commit Graph
58 Commits
Author SHA1 Message Date
Nick Fitzgerald 09893aecf6 Bug 1239495 - Label the GC roots in the dominator tree. r=jdescottes
Before this patch, we used the underlying root list's C++ type as the label of
the GC roots node in the dominator tree. This patch changes that label to "GC
Roots", which does not require knowing our implementation of heap snapshots to
understand.
2016-01-19 16:29:00 +01:00
Julian Descottes 44e7390ced Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Julian Descottes d9a54be51a Bug 1239730 - memory table formatNumber/Percent : add space every 3 digits. r=jsantell 2016-01-18 16:24:36 +01:00
Julian Descottes 1d7187b248 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen 2016-01-14 20:33:09 +01:00
Wes Kocher deead778cb Backed out changeset c457397a08bb (bug 1215955) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout 2016-01-15 10:43:01 -08:00
Wes Kocher 470b7ace05 Backed out changeset 3cea1d886e9e (bug 1238941) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout 2016-01-15 10:42:50 -08:00
Julian Descottes d0ec43d4f1 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen 2016-01-14 20:33:09 +01:00
Julian Descottes ff9154b3ad Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
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
Eduard Hanu c2691e7fbd Bug 1222417 - Filter Input Fixes in toolbar.js and memory.css. r=vp 2015-11-10 15:40:00 +01:00
Jordan Santell 62324b9708 Bug 1215954 - Add feature to save a heap snapshot from memory tool to
disk. r=fitzgen,vp
2015-11-10 11:53:55 -08:00
Carsten "Tomcat" Book 2c8cf80144 merge mozilla-inbound to mozilla-central a=merge 2015-11-05 11:58:55 +01: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
James Long 88e34e57fd Bug 1219304 - add react-dom and use it in the devtools to render react r=jsantell 2015-10-30 10:06:52 -04:00
Nick Fitzgerald 7e944fc529 Bug 1221218 - Use by-filename breakdown in the memory tool; r=jsantell
This commit adds support for traversing by: "filename" edges in census
breakdowns and reports and makes the default coarse-type breakdown use a
filename sub-breakdown for scripts.
2015-11-04 05:49:34 -08:00
Jordan Santell 6f84fab63c Bug 1219623 - Memory tool should be responsive in low widths and right panel docked. r=fitzgen 2015-10-29 19:54:24 -07: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
Jordan Santell 3eb5080fe8 Bug 1218673 - Clean up toolbar stlying and be more responsive in the memory tool. r=fitzgen 2015-10-29 17:21:09 -07:00
Nick Fitzgerald 5b794f8c74 Bug 1219854 - Add more robust source name parsing for displaying allocation stack tree items; r=jsantell 2015-10-29 17:21:08 -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 861d7482b6 Bug 1217243 - Display snapshot aggregate values and timestamp in the snapshot list view. r=fitzgen 2015-10-29 01:17:09 -07:00
Jordan Santell 7255853c71 Bug 1214799 - Localization strings for the memory tool. r=fitzgen 2015-10-29 00:07:07 -07:00
Nick Fitzgerald 4f9451a5e6 Bug 1219385 - Small fixes for heap view's tree items; r=jsantell
* Display function display name when breaking down by allocation stack.
* Properly check or uncheck the "Invert tree" checkbox depending on if we are
  inverting the heap view's tree or not.
2015-10-29 00:01:48 -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
Wes Kocher 0d37d41c43 Backed out changeset 17ae7ed99b0b (bug 1201907) so I can cleanly back out another patch 2015-10-28 14:50:48 -07:00
Jordan Santell 0c28ea427d Bug 1201907 - Enable memory tool for use and add a trait indicating its availability. r=fitzgen 2015-10-28 14:10:21 -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 84ccbc4469 Bug 1219079 - Small breakdown-related fixes for the memory tool; r=jsantell
* Add "Breakdown by" in front of dropdown selector for the selected breakdown.
* "Allocation Site" => "Allocation Stack" for breakdown's label.
* Make the coarse type breakdown bucket strings by count.
2015-10-28 10:59:25 -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
Carsten "Tomcat" Book 21368aae47 Backed out changeset 167cd2f19d93 (bug 1219079) 2015-10-28 13:09:36 +01:00
Nick Fitzgerald 768ba39cd0 Bug 1219079 - Small breakdown-related fixes for the memory tool; r=jsantell
* Add "Breakdown by" in front of dropdown selector for the selected breakdown.
* "Allocation Site" => "Allocation Stack" for breakdown's label.
* Make the coarse type breakdown bucket strings by count.
2015-10-28 02:11:06 -07:00
Jordan Santell fe90e2f112 Bug 1218674 - Style heap view states and overall tree. r=fitzgen 2015-10-27 17:48:18 -07:00
Jordan Santell a35f22526a Bug 1218675 - Style focused rows in the heap tree correctly. r=fitzgen 2015-10-27 14:59:26 -07:00
Nick Fitzgerald cf945225ad Bug 1218560 - Fix heap tree view with allocation stack breakdown; r=jsantell 2015-10-27 14:20:09 -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
Nick Fitzgerald a23249954c Bug 1217500 - Add UI for inverting display tree in memory tool; r=jsantell 2015-10-27 09:11:05 -07:00
Jordan Santell aa27904f83 Bug 1217239 - part 2 - fix bad rebase. r=jlong 2015-10-27 08:17:47 -07:00
Jordan Santell 0c27d94313 Bug 1217239 - Style the heap widget in memory tools. r=fitzgen 2015-10-26 22:40:45 -07:00
Phil Ringnalda ee52d81943 Back out 2 changesets (bug 1217500, bug 1218560) for devtools leaks
Backed out changeset 15acea2927e2 (bug 1218560)
Backed out changeset e3b623fd16bf (bug 1217500)
2015-10-26 18:28:24 -07:00
Nick Fitzgerald b54f5700d8 Bug 1218560 - Fix heap tree view item rendering when using an allocation stack breakdown; r=jsantell 2015-10-26 14:58:03 -07:00
Nick Fitzgerald f85cbca228 Bug 1217500 - Add UI for inverting display tree in memory tool; r=jsantell 2015-10-26 14:58:03 -07:00