Commit Graph

91 Commits

Author SHA1 Message Date
Tim Nguyen
265bbb90e8 Bug 1255116 - Simplify toolbar button styles. r=jryans
MozReview-Commit-ID: 9J11mNk2c5W
2017-02-14 19:34:54 +00:00
Julian Descottes
4f21c72797 Bug 1315922 - fix react/prop-types issues in client/memory;r=gregtatum
MozReview-Commit-ID: 7o1QhSNOKGi
2017-01-05 17:11:20 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Sebastian Hengst
c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
tdraebing
860f51f12d Bug 1251728 - Make devtools/client/memory/ eslint clean. r=ntim
MozReview-Commit-ID: KlM4HF81imy
2016-12-21 15:21:24 +01:00
Towkir Ahmed
ba2fe1c09b Bug 1301815 - Delete all snapshots button in memory tools has been disabled while there are no snapshots taken. r=ntim 2016-10-20 10:16:00 -04:00
Steve Chung
2419c9586a Bug 1253330 - Fix heap-tree-item-field heap-tree-item-name inline style (margin-left) in RTL. r=ntim
MozReview-Commit-ID: Irz2x4P7hx4
2016-08-03 14:24:19 +08:00
"Helen V. Holmes"
ad3150e30d Bug 1247331: Make import snapshot an icon,r=ntim
MozReview-Commit-ID: 4p73KYag0sT
2016-07-12 20:26:00 +02:00
Ruturaj
789137ad80 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
J. Ryan Stinnett
530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Greg Tatum
35cfb425c6 Bug 1263397 - The tree map should zoom at centering around the mouse pointer. r=fitzgen 2016-04-14 07:17:00 +02:00
Greg Tatum
6a489c59d7 Bug 1242628 - Add ability to remove a single snapshot from the list. r=fitzgen 2016-04-15 09:36:00 +02:00
Nick Fitzgerald
f2a6ddf449 Bug 1249788 - Implement the census individuals view; r=jsantell
This adds the INDIVIDUALS view state to the memory panel, renames "dominator
tree display" to "label display", and adds a view for listing the individual
nodes in a census group and inspecting each nodes' retaining paths.
2016-04-11 18:04:31 -07:00
Greg Tatum
bc76b1a280 Bug 1261159 - Tree map zooming is awkward. r=fitzgen 2016-04-07 07:27:00 -04:00
Greg Tatum
e123c43b02 Bug 1238695 - Render census data as a treemap. r=fitzgen, r=vporof 2016-04-01 10:56:00 -04:00
Jarda Snajdr
b6c74118ca Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins
MozReview-Commit-ID: 5xIjd2TkvP6
2016-03-25 10:01:12 -07:00
Nick Fitzgerald
fc96061ea1 Bug 1241815 - Show a message when filtering yields no matches; r=jsantell 2016-03-23 13:08:29 -07:00
Lin Clark
22c4f4aa33 Bug 1253650 - Fix React propType warnings. r=fitzgen 2016-03-04 18:23:00 +01:00
Nick Fitzgerald
58e06bb5d1 Bug 1249779 - Remove the "invert tree" checkbox and make inverting a property of the "group by" selection; r=jsantell
Effectively, this moves `inverted` from a global and per-census state, to a
per-`breakdownModel` state. Additionally, a `breakdownModel` is not just a
breakdown spec anymore, but also some extra associated metadata. As such, it has
been split in two and renamed to "censusDisplayModel" and
"dominatorTreeDisplayModel".
2016-03-01 16:20:45 -08:00
Jordan Santell
8215bc31f3 Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Nick Fitzgerald
f6e4ebf261 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
Nick Fitzgerald
cc5fc36083 Bug 1249453 - Add arrows from parent to children in census trees; r=jsantell
MozReview-Commit-ID: LFo4jJot2Sr
2016-02-23 14:14:37 -08:00
Nick Fitzgerald
2bd38f8f7e Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-05 15:11:48 -08:00
Carsten "Tomcat" Book
d479c73778 Backed out changeset 92889fed3b3b (bug 1246017) for xpcshell bustage 2016-02-05 14:06:27 +01:00
Nick Fitzgerald
ce07d0e4f5 Bug 1246036 - Don't let the "hey there's no allocation stacks" message throw and break rendering; r=jsantell 2016-02-04 17:05:00 +01:00
Nick Fitzgerald
2a0cd8d15d Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-04 18:05:00 +01:00
Nick Fitzgerald
800a70dfca Bug 1242763 - Add a bunch of tooltips to the devtools' memory panel; r=jsantell 2016-02-01 16:00:00 -08:00
Fabien Casters
58cdb0cf95 Bug 1224660 - New icon for snapshot diff view button. r=ntim 2016-02-01 01:59:00 +01:00
Julian Descottes
25aee02003 Bug 1241070 - refresh dominatortreeitem if expand state changed;r=fitzgen
In DominatorTreeItem check props.expanded in shouldComponentUpdate.
Added integration/sanity test to check that a node can be collapsed
and expanded using mouse events.
Added a DominatorTree component unit test to check the expanded nodes
are correctly updated.
2016-01-20 23:21:54 +01:00
Julian Descottes
443aeb775e Bug 1242296 - mem. profiler: clear snapshots icon; r=ntim
Added a new icon clear.svg, use as clear button for the
memory profiler. Updated title for the button.
2016-01-25 00:40:47 +01:00
Jordan Santell
beed2269f7 Bug 1226319 - part 2 - move the common localized strings from the heap view into the frame component itself. Also make the frame component configurable to optionally display the function name and host, and handle scenarios where the column does not exist -- all in preparation for the JIT optimizations view. r=fitzgen 2016-01-22 12:47:03 -08:00
Nick Fitzgerald
4816b8009a Bug 1219584 - Test that we show the allocations recording hint at the correct times. r=jsantell 2016-01-21 22:15:39 -05:00
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