forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperf-regression.html
45 lines (45 loc) · 1.02 KB
/
perf-regression.html
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
<!doctype html>
<html>
<head>
<meta charset="utf8">
<title>React DevTools</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
font-size: 12px;
line-height: 1.5;
}
#iframe {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 60vh;
}
#devtools {
position: absolute;
bottom: 0;
left: 0;
width: 100vw;
height: 40vh;
}
#load-devtools {
margin: 20px;
}
</style>
</head>
<body>
<iframe id="iframe"></iframe>
<div id="devtools">
<button id="load-devtools">Load DevTools</button>
</div>
<script src="dist/perf-regression-devtools.js"></script>
</body>
</html>