Commit Graph
99 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
Nick Fitzgerald d144ff2205 Bug 1239154 - Add default bug component to memory tool related directories; r=jsantell 2016-01-13 12:27:30 -08:00
Nick Fitzgerald 3c27e3ee73 Bug 1235457 - Create ThreadSafeDevToolsUtils for the utilities that can be used in workers; r=jsantell
This commit adds the ThreadSafeDevToolsUtils module for utilities that are
guaranteed to work off the main thread. It also makes DevToolsUtils re-export
the thread-safe utilities. This is similar to ChromeUtils and
ThreadSafeChromeUtils webidl interfaces.
2015-12-30 09:37:01 -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 801d3d096e Bug 1231943 - Add basic telemetry for memory tool. r=fitzgen 2015-12-11 07:36:00 +01:00
Patrick Brosset a55c60aca1 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -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
Nick Fitzgerald 793a519f59 Bug 1160379 - Annotate relevant tests for --tag devtools-memory. r=jsantell 2015-11-05 10:53:00 +01:00
Carsten "Tomcat" Book 2c8cf80144 merge mozilla-inbound to mozilla-central a=merge 2015-11-05 11:58:55 +01:00
Nick Fitzgerald 6de0017e21 Bug 1221150 - Follow up: disable the browser_memory_no_auto_expand.js test on DEBUG builds; r=me CLOSED TREE 2015-11-04 19:09:29 -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
J. Ryan Stinnett 1aca2c542b Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
J. Ryan Stinnett 4e51063c4a Bug 1207976 - Remove /themes from DevTools URLs. r=ochameau 2015-11-04 12:04:20 -06: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 54ecbf737e Bug 1219805 - Make coarse type break objects down by [[class]] rather than allocation stack; r=jsantell 2015-10-29 17:21:07 -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
Nick Fitzgerald 53f5f3ff42 Bug 1218560 - Part 2: Add an integration test for allocation stack breakdowns; r=jsantell 2015-10-28 22:46:25 -07:00
Jordan Santell fb6ac75f16 Bug 1218679 - Add integration/smoke-screen tests for memory tool. r=fitzgen 2015-10-28 22:46:25 -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 0783e2d223 Bug 1217969 - Highlight the memory tool tab when recording allocations. r=fitzgen 2015-10-28 13:10:31 -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