Граф коммитов

30 Коммитов

Автор SHA1 Сообщение Дата
Nick Fitzgerald a954e27a9e Bug 1149385 - Render retaining paths in the dominators view; r=jsantell
This commit extends the devtools' memory panel's dominators view with a sidebar
that displays the 5 shortest retaining paths from the GC roots for the selected
node in the dominator tree.
2016-02-23 15:38:29 -08:00
Julian Descottes 8a5bb348c4 Bug 1243131 - memory tool: select snapshot using ACCEL+{UP/DOWN};r=fitzgen
Adds a keydown listener on the memory panel window. Select previous/next snapshot
when user presses UP/DOWN with the accelKey modifier (metaKey on OSX, ctrlKey on
windows).

Keydown events with modifiers are no longer listened to by the tree node elements.

Updated tree node test.
Added new mochitest to test the new keyboard navigation on the census view. )
2016-02-12 11:03:34 +01:00
Phil Ringnalda e877ebe734 Back out c578a05bb9d6 (bug 1243131) for browser_memory_keyboard-snapshot-list.js timeout threshold exceeded on Linux32 debug 2016-02-11 21:50:07 -08:00
Julian Descottes 383c4ab364 Bug 1243131 - memory tool: select snapshot using ACCEL+{UP/DOWN};r=fitzgen
Adds a keydown listener on the memory panel window. Select previous/next snapshot
when user presses UP/DOWN with the accelKey modifier (metaKey on OSX, ctrlKey on
windows).

Keydown events with modifiers are no longer listened to by the tree node elements.

Updated tree node test.
Added new mochitest to test the new keyboard navigation on the census view. )

--HG--
extra : commitid : 20wu80BaRXB
2016-02-08 16:30:01 +01:00
Julian Descottes 7d88e0623c Bug 1240344 - Fix filter propname used when creating toolbar. r=fitzgen
This commit fixes the prop name used when creating the Toolbar component
from app.js : Toolbar expects fitlerString, app was providing filter.

Extended browser_memory_filter_01.js to check the filter value is preserved
after switching views.
2016-01-22 12:23:44 +01:00
Julian Descottes 88ef962b60 Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Wes Kocher 137b0dc6d1 Backed out changeset c457397a08bb (bug 1215955) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout
--HG--
extra : commitid : 9hiF1ztDIiJ
extra : histedit_source : 6388bc5df724f62b90c3309794bde9df82fa5631%2C131cc268c81bccca87b5dfc6ce58ae21230768cf
2016-01-15 10:43:01 -08:00
Julian Descottes bd312166c6 Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Nick Fitzgerald 46ec4d3cc4 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.

--HG--
rename : devtools/client/memory/components/tree-item.js => devtools/client/memory/components/census-tree-item.js
2016-01-13 12:27:30 -08:00
Jordan Santell d971af30f9 Bug 1219544 - Decouple the react Frame component from the memory view and pull out source utilities from frame utilities in performance tool. r=fitzgen
--HG--
rename : devtools/client/shared/source-utils.js => devtools/client/shared/view-source.js
2015-12-29 13:23:05 -05:00
Nick Fitzgerald df26d887c6 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 89961bc4bb Bug 1215953 - Add feature for importing heap snapshots into the memory
tool. r=fitzgen,ntim
2015-11-11 16:05:46 -08:00
Jordan Santell cb4eb14f47 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
Nick Fitzgerald 7d323eb6c7 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 7f37fbedaa 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 b6b94f7a15 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 64e08b66ae Bug 1217946 - Fix all validation failures and deprecated components. r=fitzgen 2015-10-28 16:11:05 -07:00
Wes Kocher 5759603594 Backed out changeset 06a16359bcec (bug 1217946) for m(dt) bustage
--HG--
extra : rebase_source : 9688af719007bfc31ee299a51ade84d09b54917d
2015-10-28 14:51:00 -07:00
Jordan Santell a5c5dae2ae Bug 1217946 - Fix all validation failures and deprecated components. r=fitzgen 2015-10-28 13:05:35 -07:00
Nick Fitzgerald 307f72d779 Bug 1217500 - Add UI for inverting display tree in memory tool; r=jsantell 2015-10-27 09:11:05 -07:00
Phil Ringnalda df78b897da 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 fd979a5d49 Bug 1217500 - Add UI for inverting display tree in memory tool; r=jsantell 2015-10-26 14:58:03 -07:00
Jordan Santell 97e65e8041 Bug 960776 2015-10-26 10:13:49 -07:00
Sebastian Hengst e3172430f6 Backed out changeset 335ea7a95492 (bug 960776) for XPCShell failures. r=backout 2015-10-24 10:43:41 +02:00
Jordan Santell 7da4708a2f Bug 960776 - Render a tree widget to display heap data. r=fitzgen 2015-10-23 15:59:11 -07:00
Nick Fitzgerald 554bd61388 Bug 1214066 - Add the ability to toggle allocation stack recording; r=jsantell 2015-10-23 15:18:55 -07:00
Jordan Santell d7a6ae0f7b 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 c6ee0927bd Bug 1215397 - Add state and UI for breakdowns in memory tool. r=fitzgen 2015-10-19 13:57:33 -07:00
Jordan Santell c84dda70dd Bug 1214872 - Set up state changes in the memory tool. r=fitzgen 2015-10-16 15:16:55 -07:00
Jordan Santell c9656c9187 Bug 1213137 - Initial react app for memory tool with its snapshot list view. r=jlong 2015-10-14 11:31:59 -07:00