DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (d8847129d134)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
<?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/views/overview.js"/>
  <script type="application/javascript" src="performance/views/details.js"/>
  <script type="application/javascript" src="performance/views/details-call-tree.js"/>
  <script type="application/javascript" src="performance/views/details-waterfall.js"/>
  <script type="application/javascript" src="performance/views/details-flamegraph.js"/>

  <vbox class="theme-body" flex="1">
    <toolbar id="performance-toolbar" class="devtools-toolbar">
      <hbox id="performance-toolbar-controls-recordings" class="devtools-toolbarbutton-group">
        <toolbarbutton id="record-button"
                       class="devtools-toolbarbutton"
                       tooltiptext="&profilerUI.recordButton.tooltip;"/>
        <toolbarbutton id="clear-button"
                       class="devtools-toolbarbutton"
                       label="&profilerUI.clearButton;"/>
      </hbox>
      <spacer flex="1"></spacer>
      <hbox id="performance-toolbar-controls-storage" class="devtools-toolbarbutton-group">
        <toolbarbutton id="import-button"
                       class="devtools-toolbarbutton"
                       label="&profilerUI.importButton;"/>
        <toolbarbutton id="export-button"
                       class="devtools-toolbarbutton"
                       label="&profilerUI.exportButton;"/>
      </hbox>
    </toolbar>

    <vbox id="overview-pane">
      <hbox id="markers-overview"/>
      <hbox id="memory-overview"/>
      <hbox id="time-framerate"/>
    </vbox>

    <toolbar id="details-toolbar" class="devtools-toolbar">
      <hbox class="devtools-toolbarbutton-group">
        <toolbarbutton id="select-waterfall-view"
                       class="devtools-toolbarbutton"
                       data-view="waterfall" />
        <toolbarbutton id="select-calltree-view"
                       class="devtools-toolbarbutton"
                       data-view="calltree" />
        <toolbarbutton id="select-flamegraph-view"
                       class="devtools-toolbarbutton"
                       data-view="flamegraph" />
      </hbox>
    </toolbar>

    <deck id="details-pane" flex="1">
      <hbox id="waterfall-view" flex="1">
        <vbox id="waterfall-graph" flex="1" />
        <splitter class="devtools-side-splitter"/>
        <vbox id="waterfall-details"
              class="theme-sidebar"
              width="150"
              height="150"/>
      </hbox>

      <vbox id="calltree-view" flex="1">
        <hbox class="call-tree-headers-container">
          <label class="plain call-tree-header"
                 type="duration"
                 crop="end"
                 value="&profilerUI.table.totalDuration;"/>
          <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.selfDuration;"/>
          <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="flamegraph-view" flex="1">
      </hbox>
    </deck>
  </vbox>
</window>