|
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <title>Performance Profiler</title> |
| 7 | + <link rel="stylesheet" href="../../src/engine/theme/main.css" /> |
7 | 8 | <link rel="stylesheet" href="../../src/engine/ui/hubCommon.css" /> |
8 | 9 | <link rel="stylesheet" href="../shared/platformShell.css" /> |
9 | 10 | <link rel="stylesheet" href="../shared/debugInspectorTools.css" /> |
10 | 11 | </head> |
11 | | -<body class="tools-platform-tool-page" data-tool-id="performance-profiler" data-tools-platform-page="tool"> |
| 12 | +<body class="tools-platform-tool-page tool-shell-page" data-tool-id="performance-profiler" data-tools-platform-page="tool"> |
12 | 13 | <div data-tools-platform-header></div> |
13 | | - <div class="debug-tool-shell app-shell"> |
14 | | - <section class="panel debug-tool-panel"> |
15 | | - <h2>Performance Profiler</h2> |
16 | | - <p>Run baseline deterministic workload and frame cadence sampling to inspect timing health.</p> |
17 | | - <div class="debug-tool-actions"> |
18 | | - <button type="button" id="runWorkloadButton">Run Workload Profile</button> |
19 | | - <button type="button" id="runFrameSampleButton">Run Frame Sample</button> |
20 | | - <button type="button" id="stopProfilerButton">Stop</button> |
21 | | - </div> |
22 | | - <div id="profilerStatusText" class="debug-tool-meta">Profiler ready.</div> |
23 | | - </section> |
| 14 | + <div class="tool-shell-container"> |
| 15 | + <div class="tool-shell app-shell"> |
| 16 | + <aside class="tool-shell__left"> |
| 17 | + <section class="panel debug-tool-panel"> |
| 18 | + <h2>Performance Profiler</h2> |
| 19 | + <p>Run baseline deterministic workload and frame cadence sampling to inspect timing health.</p> |
| 20 | + <div class="debug-tool-actions"> |
| 21 | + <button type="button" id="runWorkloadButton">Run Workload Profile</button> |
| 22 | + <button type="button" id="runFrameSampleButton">Run Frame Sample</button> |
| 23 | + <button type="button" id="stopProfilerButton">Stop</button> |
| 24 | + </div> |
| 25 | + <div id="profilerStatusText" class="debug-tool-meta">Profiler ready.</div> |
| 26 | + </section> |
| 27 | + </aside> |
24 | 28 |
|
25 | | - <section class="debug-tool-grid"> |
26 | | - <section class="panel debug-tool-panel"> |
27 | | - <h3>Profile Settings</h3> |
28 | | - <label> |
29 | | - Workload iterations |
30 | | - <input id="workloadIterationsInput" type="number" min="10" max="5000" step="10" value="300" /> |
31 | | - </label> |
32 | | - <label> |
33 | | - Work size per iteration |
34 | | - <input id="workSizeInput" type="number" min="100" max="100000" step="100" value="3000" /> |
35 | | - </label> |
36 | | - <label> |
37 | | - Frame samples |
38 | | - <input id="frameSamplesInput" type="number" min="10" max="600" step="10" value="120" /> |
39 | | - </label> |
40 | | - </section> |
| 29 | + <main class="tool-shell__center"> |
| 30 | + <section class="panel debug-tool-panel"> |
| 31 | + <h3>Profile Settings</h3> |
| 32 | + <label> |
| 33 | + Workload iterations |
| 34 | + <input id="workloadIterationsInput" type="number" min="10" max="5000" step="10" value="300" /> |
| 35 | + </label> |
| 36 | + <label> |
| 37 | + Work size per iteration |
| 38 | + <input id="workSizeInput" type="number" min="100" max="100000" step="100" value="3000" /> |
| 39 | + </label> |
| 40 | + <label> |
| 41 | + Frame samples |
| 42 | + <input id="frameSamplesInput" type="number" min="10" max="600" step="10" value="120" /> |
| 43 | + </label> |
| 44 | + </section> |
| 45 | + </main> |
41 | 46 |
|
42 | | - <section class="panel debug-tool-panel"> |
43 | | - <h3>Profile Output</h3> |
44 | | - <pre id="profileOutput" class="debug-tool-readout">Run a workload or frame sample to inspect performance metrics.</pre> |
45 | | - </section> |
46 | | - </section> |
| 47 | + <aside class="tool-shell__right"> |
| 48 | + <section class="panel debug-tool-panel"> |
| 49 | + <h3>Profile Output</h3> |
| 50 | + <pre id="profileOutput" class="debug-tool-readout">Run a workload or frame sample to inspect performance metrics.</pre> |
| 51 | + </section> |
| 52 | + </aside> |
| 53 | + </div> |
47 | 54 | </div> |
48 | 55 | <div data-tools-platform-status></div> |
49 | 56 | <script type="module" src="../shared/platformShell.js"></script> |
|
0 commit comments