-
Notifications
You must be signed in to change notification settings - Fork 0
/
unified.html
192 lines (172 loc) · 5.64 KB
/
unified.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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Non-unified build time comparison</title>
<style>
body {
font-size: 12px;
font-family: sans-serif;
}
table {
table-layout: fixed;
/* width: 100%; */
border-collapse: collapse;
border: 3px solid gray;
}
thead {
text-align: center;
background-color: lightgrey;
font-weight: bold;
}
td > a {
color: black;
}
tbody tr:nth-child(odd) {
background-color: white;
}
tbody tr:nth-child(even) {
background-color: rgb(243, 243, 243);
}
thead th:nth-child(2) {
width: 150px;
}
thead th:nth-child(3) {
width: 100px;
}
thead th:nth-child(4) {
width: 100px;
}
tbody tr td {
text-align: center;
}
.faster {
border-radius: 5px;
background-color: rgb(213, 255, 213);
}
.slower {
border-radius: 5px;
background-color: rgb(255, 205, 205);
}
@media only screen and (max-width: 1024px) {
table, thead, tbody, th, td, tr {
display: block;
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr { border: 1px solid #ccc; }
td {
/* Behave like a "row" */
border: none;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 50%;
}
td:before {
/* Now like a table header */
position: absolute;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
text-align: left;
}
td:nth-of-type(1):before { content: "Started (localtime)"; }
td:nth-of-type(2):before { content: "Identifier"; }
td:nth-of-type(3):before { content: "Non-unified:"; }
td:nth-of-type(4):before { content: "Unified:"; }
td:nth-of-type(5):before { content: "Gap:"; }
td:nth-of-type(6):before { content: "Non-unified multiplier:"; }
}
</style>
</head>
<body>
<script type="module" src="./unified.js"></script>
<h1>Non unified vs unified build times comparison</h1>
<br>
<p>This is a simple comparison of the build times between the <a href="https://build.webkit.org/#/builders/6">WPE
unified (regular) builder</a> and the <a href="https://build.webkit.org/#/builders/133">non-unified builder</a>. It is not intended as a scientific benchmark, but just a rough estimation of the time required for non-unified builds.</p>
<p>For simplicity, we only compare jobs that finished successfully in both builders among the last 300 jobs for each
builder. Also, 4 minutes and 10 seconds are discounted from the unified builder time to account for uploading the build products.</p>
<p>Beware of other factors like artifacts caching or failed builds between successful runs that might make individual
build comparisons difficult.</p>
<h3>Overall stats</h3>
<p>About percentiles: The "0.75 percentile" value could be read as "75% of the builds take at
most this time".</p>
<table>
<thead>
<tr>
<th>Item</th>
<th>Non-unified build</th>
<th>Unified build</th>
</tr>
</thead>
<tbody>
<tr>
<td>Number of builds</td>
<td id="numBuildsNonUnified"></td>
<td id="numBuildsUnified"></td>
</tr>
<tr>
<td>Average time</td>
<td id="averageNonUnified"></td>
<td id="averageUnified"></td>
</tr>
<tr>
<td>.25 percentile</td>
<td id="pct25NonUnified"></td>
<td id="pct25Unified"></td>
</tr>
<tr>
<td>.50 percentile</td>
<td id="pct50NonUnified"></td>
<td id="pct50Unified"></td>
</tr>
<tr>
<td>.75 percentile</td>
<td id="pct75NonUnified"></td>
<td id="pct75Unified"></td>
</tr>
<tr>
<td>.90 percentile</td>
<td id="pct90NonUnified"></td>
<td id="pct90Unified"></td>
</tr>
</tbody>
</table>
<h3>Results by revision</h3>
<table>
<thead>
<tr>
<th>Started (localtime)</th>
<th>Identifier</th>
<th>Non-unified</th>
<th>Unified</th>
<th>Gap</th>
<th>Multiplier</th>
</tr>
</thead>
<tbody id="buildsTable">
</tbody>
</table>
<template id="resultTemplate">
<tr>
<td class="started"></td>
<td class="revision"></td>
<td class="nonunified result"></td>
<td class="unified result"></td>
<td class="gap"></td>
<td class="comparison"></td>
</tr>
</template>
<br>
<footer>
<a href="./index.html">Back to dashboard</a>
</footer>
</body>
</html>