forked from Tollcraft/soroban-budget-assert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.html
More file actions
44 lines (39 loc) · 1.4 KB
/
Copy pathdashboard.html
File metadata and controls
44 lines (39 loc) · 1.4 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Soroban Budget Assert — Cost-over-time Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./assets/dashboard.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.0/chart.umd.min.js"></script>
</head>
<body>
<header>
<h1>Cost-over-time Dashboard</h1>
<p class="sub">Per-function budget cost (CPU instructions, read/write bytes) across commits, from <code>history.json</code> recorded by CI.</p>
<p class="source" id="source-line"></p>
</header>
<main>
<section id="status"><p>Loading history…</p></section>
<section id="controls" hidden>
<div class="control">
<label for="package-select">Package</label>
<select id="package-select"></select>
</div>
<div class="control">
<label>Functions</label>
<div id="function-list" class="checkbox-list"></div>
</div>
<div class="control">
<label>Showing</label>
<span id="window-info"></span>
</div>
</section>
<section id="charts"></section>
</main>
<footer>
<p>Click a data point to open that commit on GitHub. Data via <a id="history-link" href="#">history.json</a>.</p>
</footer>
<script src="./assets/dashboard.js"></script>
</body>
</html>