-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (66 loc) · 2.38 KB
/
index.html
File metadata and controls
70 lines (66 loc) · 2.38 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
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
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WebGL2 VRAM Stress Test</title>
<link rel="stylesheet" href="./src/styles.css" />
</head>
<body>
<main class="page">
<header class="hero">
<h1>WebGL2 VRAM Stress Test</h1>
<p>
Внимание: тест может привести к нестабильности или падению браузера, а в редких случаях и всей системы. Не запускайте в режиме инкогнито.
</p>
</header>
<section class="panel controls">
<h2>Управление</h2>
<div class="row">
<button id="startBtn" type="button">Start</button>
<button id="stopBtn" type="button" disabled>Stop</button>
<button id="resetBtn" type="button">Reset local</button>
</div>
</section>
<canvas id="glCanvas" width="960" height="270" class="hidden-gl-canvas" aria-label="WebGL debug canvas"></canvas>
<section class="panel metrics">
<h2>Live-метрики</h2>
<div class="metrics-grid">
<article>
<span>Статус</span>
<strong id="statusValue">idle</strong>
</article>
<article>
<span>Таймер</span>
<strong id="timerValue">0.0 s</strong>
</article>
<article>
<span>Оценка нагрузки</span>
<strong id="loadValue">0 MB</strong>
</article>
<article>
<span>Контекст</span>
<strong id="contextValue">active</strong>
</article>
</div>
</section>
<section class="panel summary">
<div class="table-wrap">
<div class="summary-head">
<h3>Recent runs</h3>
<button id="refreshSummaryBtn" type="button">Refresh</button>
</div>
<div class="recent-scroll">
<table>
<thead>
<tr><th>Browser</th><th>OS</th><th>Chip</th><th>Memory (MB)</th><th>Result</th></tr>
</thead>
<tbody id="recentRows"></tbody>
</table>
</div>
</div>
</section>
</main>
<script type="module" src="./src/app.js"></script>
</body>
</html>