Commit Graph
144 Commits
Author SHA1 Message Date
Jordan Santell 9632efd3fe Bug 1251033 - Part 1 - BrowserLoader now has an option to only load shared components and not require an additional directory. r=jryans 2016-03-08 19:19:09 -08:00
Lin Clark 22c4f4aa33 Bug 1253650 - Fix React propType warnings. r=fitzgen 2016-03-04 18:23:00 +01:00
Julian Descottes ff06b8081e Bug 1253881 - memory profiler: toggle diffing when clearing snapshots;r=fitzgen
When clearing all snapshots, if currently displaying a diff, dispatch the
diffing.toggleDiffing action.

MozReview-Commit-ID: 1DyPZ7tHC1X
2016-03-07 21:23:32 +01:00
J. Ryan Stinnett de2f55cad7 Bug 1253125 - Stop duplicating telemetry from inside tools. r=mratcliffe
MozReview-Commit-ID: IRidYhLsJpy
2016-03-03 16:16:39 -06: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
Oussama Ben Guirat c659af7c52 Bug 1206341 - Fix memory tool direction for rtl locales. r=ntim
MozReview-Commit-ID: JgjF5tfllt5
2016-03-01 06:36:00 +01:00
Alexandre Poirot bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -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 80d8d4d413 Bug 1249789, 1249791, 1249792, 1249796, 1249798 - Clean up memory tool breakdowns; r=jsantell
This commit does the following:

- Rename "Group By: {Allocation => Call} Stack" in memory tool
- Rename "Label By: {Allocation => Call} Stack" in memory tool
- Get rid of "Internal Type" for labeling and grouping nodes
- Get rid of group by "Object Class" in memory tool
- Rename group/label by "Coarse Type" to plain "Type" in memory tool
2016-02-22 14:27:51 -08:00
Brian Grinstead 03b245db06 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Julian Descottes 159f327bd4 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 ef09fca19a 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 00572f935a 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-08 16:30:01 +01:00
Alexandre Poirot c278a0c6db Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Julian Descottes bdfcd4cb81 Bug 1246570 - mem.tool parentMap maps nodeId->node, remove verbose xpcshell logs;r=fitzgen 2016-02-10 17:57:37 +01:00
Sebastian Hengst 48fa53eaf2 Backed out changeset e1576fc08c1c (bug 1246570) for XPCshell failures. r=backout 2016-02-10 12:55:11 +01:00
Julian Descottes 556d23ff96 Bug 1246570 - memory tool: parentMap should map nodeId->node. r=fitzgen 2016-02-08 21:16:22 +01:00
Nick Fitzgerald 2bd38f8f7e Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-05 15:11:48 -08:00
Nick Fitzgerald 12792b924c Bug 1245739 - Disable the browser_memory_allocationStackBreakdown_01.js test on DEBUG builds. r=jsantell
Unfortunately, this test is frequently reporting the doc_steady_allocation.html
test tab window as leaking. Let's disable it for now, and re-enable it along
with the other leaky tests in bug 1219554.
2016-02-05 09:24:00 -05: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 eeb9da3ecc Bug 1246016 - Speed up parent map creation in the memory tool; r=jimb
The iterator protocol is really slow and puts a crap ton of pressure on the GC
-- who would have guessed!?
2016-02-04 16:25:00 +01:00
Nick Fitzgerald 046417c376 Bug 1221619 - Add telemetry to memory tool. r=jsantell, data-review=bsmedberg 2016-02-03 15:17:00 +01:00
Nick Fitzgerald 28abe93f3e Bug 1219554 - Follow up: clean up memory panel open/destroy; r=jsantell
This commit removes the assignment expression in a return statement thing that
was going on. It is easy to misread and we don't usually use this idiom anywhere
else in the codebase. Additionally, it makes the destroy method clean up some
more members set when opening the tool.
2016-02-04 11:53:00 +01:00
Nick Fitzgerald ab7e0efdec Bug 1219554 - Remove the unused waitUntilSnapshotState test utility; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald 043b4bd312 Bug 1219554 - Clean up the browser_memory_no_auto_expand.js test; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald 3ddf317546 Bug 1219554 - Enable the browser_memory_filter_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald db6b534ede Bug 1219554 - Enable the browser_memory_diff_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald c4b46634e1 Bug 1219554 - Enable the browser_memory_clear_snapshots.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald f59ae9c7da Bug 1219554 - Enable the browser_memory_breakdowns_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:53:00 +01:00
Nick Fitzgerald b3c82faa49 Bug 1219554 - Enable the browser_memory_simple_01.js test on DEBUG builds; r=jsantell 2016-02-04 11:52:00 +01:00
Nick Fitzgerald 309b02f2ff Bug 1245302 - Wait for the HeapAnalysesWorker to reply before considering deleting a snapshot done; r=jsantell 2016-02-02 15:09:00 +01:00
Nick Fitzgerald 904bc8d6fa Bug 1245301 - Alphabetize memory tool's browser tests and use consistent naming; r=jimb 2016-02-02 15:09: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
Jordan Santell 55b0638c25 Bug 1226319 - Part 3 - Land JIT Viewer implemented in react. r=fitzgen 2016-01-28 13:00:54 -08: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
J. Ryan Stinnett 5c1ca25210 Bug 1239437 - xpcshell tests for responsive.html. r=pbrosset 2016-01-25 19:44:08 -06:00
Julian Descottes f76f484829 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
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