mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
238 lines
11 KiB
XML
238 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/performance.css" type="text/css"?>
|
|
<!DOCTYPE window [
|
|
<!ENTITY % profilerDTD SYSTEM "chrome://browser/locale/devtools/profiler.dtd">
|
|
%profilerDTD;
|
|
]>
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
<script src="chrome://browser/content/devtools/theme-switching.js"/>
|
|
<script type="application/javascript" src="performance/performance-controller.js"/>
|
|
<script type="application/javascript" src="performance/performance-view.js"/>
|
|
<script type="application/javascript" src="performance/recording-model.js"/>
|
|
<script type="application/javascript" src="performance/views/overview.js"/>
|
|
<script type="application/javascript" src="performance/views/toolbar.js"/>
|
|
<script type="application/javascript" src="performance/views/details-subview.js"/>
|
|
<script type="application/javascript" src="performance/views/details-waterfall.js"/>
|
|
<script type="application/javascript" src="performance/views/details-js-call-tree.js"/>
|
|
<script type="application/javascript" src="performance/views/details-js-flamegraph.js"/>
|
|
<script type="application/javascript" src="performance/views/details-memory-call-tree.js"/>
|
|
<script type="application/javascript" src="performance/views/details-memory-flamegraph.js"/>
|
|
<script type="application/javascript" src="performance/views/details.js"/>
|
|
<script type="application/javascript" src="performance/views/recordings.js"/>
|
|
|
|
<popupset id="performance-options-popupset">
|
|
<menupopup id="performance-options-menupopup">
|
|
<menuitem id="option-show-platform-data"
|
|
type="checkbox"
|
|
data-pref="show-platform-data"
|
|
label="&profilerUI.showPlatformData;"
|
|
tooltiptext="&profilerUI.showPlatformData.tooltiptext;"/>
|
|
<menuitem id="option-enable-memory"
|
|
type="checkbox"
|
|
data-pref="enable-memory"
|
|
label="&profilerUI.enableMemory;"
|
|
tooltiptext="&profilerUI.enableMemory.tooltiptext;"/>
|
|
<menuitem id="option-enable-framerate"
|
|
type="checkbox"
|
|
data-pref="enable-framerate"
|
|
label="&profilerUI.enableFramerate;"
|
|
tooltiptext="&profilerUI.enableFramerate.tooltiptext;"/>
|
|
<menuitem id="option-invert-call-tree"
|
|
type="checkbox"
|
|
data-pref="invert-call-tree"
|
|
label="&profilerUI.invertTree;"
|
|
tooltiptext="&profilerUI.invertTree.tooltiptext;"/>
|
|
<menuitem id="option-invert-flame-graph"
|
|
type="checkbox"
|
|
data-pref="invert-flame-graph"
|
|
label="&profilerUI.invertFlameGraph;"
|
|
tooltiptext="&profilerUI.invertFlameGraph.tooltiptext;"/>
|
|
<menuitem id="option-flatten-tree-recursion"
|
|
type="checkbox"
|
|
data-pref="flatten-tree-recursion"
|
|
label="&profilerUI.flattenTreeRecursion;"
|
|
tooltiptext="&profilerUI.flattenTreeRecursion.tooltiptext;"/>
|
|
</menupopup>
|
|
</popupset>
|
|
|
|
<hbox class="theme-body" flex="1">
|
|
<vbox id="recordings-pane">
|
|
<toolbar id="recordings-toolbar"
|
|
class="devtools-toolbar">
|
|
<hbox id="recordings-controls"
|
|
class="devtools-toolbarbutton-group">
|
|
<toolbarbutton id="main-record-button"
|
|
class="devtools-toolbarbutton record-button"
|
|
tooltiptext="&profilerUI.recordButton.tooltip;"/>
|
|
<toolbarbutton id="import-button"
|
|
class="devtools-toolbarbutton"
|
|
label="&profilerUI.importButton;"/>
|
|
<toolbarbutton id="clear-button"
|
|
class="devtools-toolbarbutton"
|
|
label="&profilerUI.clearButton;"/>
|
|
</hbox>
|
|
</toolbar>
|
|
<vbox id="recordings-list" flex="1"/>
|
|
</vbox>
|
|
|
|
<vbox id="performance-pane" flex="1">
|
|
<toolbar id="performance-toolbar" class="devtools-toolbar">
|
|
<hbox id="performance-toolbar-controls-detail-views" class="devtools-toolbarbutton-group">
|
|
<toolbarbutton id="select-waterfall-view"
|
|
class="devtools-toolbarbutton devtools-button"
|
|
label="&profilerUI.toolbar.waterfall;"
|
|
data-view="waterfall" />
|
|
<toolbarbutton id="select-js-calltree-view"
|
|
class="devtools-toolbarbutton devtools-button"
|
|
label="&profilerUI.toolbar.js-calltree;"
|
|
data-view="js-calltree" />
|
|
<toolbarbutton id="select-js-flamegraph-view"
|
|
class="devtools-toolbarbutton devtools-button"
|
|
label="&profilerUI.toolbar.js-flamegraph;"
|
|
data-view="js-flamegraph" />
|
|
<toolbarbutton id="select-memory-calltree-view"
|
|
class="devtools-toolbarbutton devtools-button"
|
|
label="&profilerUI.toolbar.memory-calltree;"
|
|
data-view="memory-calltree" />
|
|
<toolbarbutton id="select-memory-flamegraph-view"
|
|
class="devtools-toolbarbutton devtools-button"
|
|
label="&profilerUI.toolbar.memory-flamegraph;"
|
|
data-view="memory-flamegraph" />
|
|
</hbox>
|
|
<spacer flex="1"></spacer>
|
|
<hbox id="performance-toolbar-control-options" class="devtools-toolbarbutton-group">
|
|
<toolbarbutton id="performance-options-button"
|
|
class="devtools-toolbarbutton devtools-option-toolbarbutton"
|
|
popup="performance-options-menupopup"
|
|
tooltiptext="&profilerUI.options.tooltiptext;"/>
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<deck id="performance-view" flex="1">
|
|
<hbox id="empty-notice"
|
|
class="notice-container"
|
|
align="center"
|
|
pack="center"
|
|
flex="1">
|
|
<label value="&profilerUI.emptyNotice1;"/>
|
|
<button class="devtools-toolbarbutton record-button"
|
|
standalone="true" />
|
|
<label value="&profilerUI.emptyNotice2;"/>
|
|
</hbox>
|
|
<vbox id="performance-view-content" flex="1">
|
|
<vbox id="overview-pane">
|
|
<hbox id="markers-overview"/>
|
|
<hbox id="memory-overview"/>
|
|
<hbox id="time-framerate"/>
|
|
</vbox>
|
|
<deck id="details-pane-container" flex="1">
|
|
<hbox id="recording-notice"
|
|
class="notice-container"
|
|
align="center"
|
|
pack="center"
|
|
flex="1">
|
|
<label value="&profilerUI.stopNotice1;"/>
|
|
<button class="devtools-toolbarbutton record-button"
|
|
standalone="true"
|
|
checked="true" />
|
|
<label value="&profilerUI.stopNotice2;"/>
|
|
</hbox>
|
|
<deck id="details-pane" flex="1">
|
|
<hbox id="waterfall-view" flex="1">
|
|
<vbox id="waterfall-breakdown" flex="1" />
|
|
<splitter class="devtools-side-splitter"/>
|
|
<vbox id="waterfall-details"
|
|
class="theme-sidebar"
|
|
width="150"
|
|
height="150"/>
|
|
</hbox>
|
|
|
|
<vbox id="js-calltree-view" flex="1">
|
|
<hbox class="call-tree-headers-container">
|
|
<label class="plain call-tree-header"
|
|
type="duration"
|
|
crop="end"
|
|
value="&profilerUI.table.totalDuration2;"/>
|
|
<label class="plain call-tree-header"
|
|
type="percentage"
|
|
crop="end"
|
|
value="&profilerUI.table.totalPercentage;"/>
|
|
<label class="plain call-tree-header"
|
|
type="self-duration"
|
|
crop="end"
|
|
value="&profilerUI.table.selfDuration2;"/>
|
|
<label class="plain call-tree-header"
|
|
type="self-percentage"
|
|
crop="end"
|
|
value="&profilerUI.table.selfPercentage;"/>
|
|
<label class="plain call-tree-header"
|
|
type="samples"
|
|
crop="end"
|
|
value="&profilerUI.table.samples;"/>
|
|
<label class="plain call-tree-header"
|
|
type="function"
|
|
crop="end"
|
|
value="&profilerUI.table.function;"/>
|
|
</hbox>
|
|
<vbox class="call-tree-cells-container" flex="1"/>
|
|
</vbox>
|
|
|
|
<hbox id="js-flamegraph-view" flex="1">
|
|
</hbox>
|
|
|
|
<vbox id="memory-calltree-view" flex="1">
|
|
<hbox class="call-tree-headers-container">
|
|
<label class="plain call-tree-header"
|
|
type="duration"
|
|
crop="end"
|
|
value="&profilerUI.table.totalDuration2;"/>
|
|
<label class="plain call-tree-header"
|
|
type="percentage"
|
|
crop="end"
|
|
value="&profilerUI.table.totalPercentage;"/>
|
|
<label class="plain call-tree-header"
|
|
type="allocations"
|
|
crop="end"
|
|
value="&profilerUI.table.totalAlloc;"/>
|
|
<label class="plain call-tree-header"
|
|
type="self-duration"
|
|
crop="end"
|
|
value="&profilerUI.table.selfDuration2;"/>
|
|
<label class="plain call-tree-header"
|
|
type="self-percentage"
|
|
crop="end"
|
|
value="&profilerUI.table.selfPercentage;"/>
|
|
<label class="plain call-tree-header"
|
|
type="self-allocations"
|
|
crop="end"
|
|
value="&profilerUI.table.selfAlloc;"/>
|
|
<label class="plain call-tree-header"
|
|
type="samples"
|
|
crop="end"
|
|
value="&profilerUI.table.samples;"/>
|
|
<label class="plain call-tree-header"
|
|
type="function"
|
|
crop="end"
|
|
value="&profilerUI.table.function;"/>
|
|
</hbox>
|
|
<vbox class="call-tree-cells-container" flex="1"/>
|
|
</vbox>
|
|
|
|
<hbox id="memory-flamegraph-view" flex="1">
|
|
</hbox>
|
|
</deck>
|
|
</deck>
|
|
</vbox>
|
|
</deck>
|
|
</vbox>
|
|
</hbox>
|
|
</window>
|