You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/lib/build_perf/html/measurement_chart.html
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -13,25 +13,29 @@
13
13
// Convert raw data to the format: [time, value]
14
14
constdata=rawData.map(([commit,value,time])=>{
15
15
return[
16
-
newDate(time*1000).getTime(),// The Date object takes values in milliseconds rather than seconds. So to use a Unix timestamp we have to multiply it by 1000.
17
-
Array.isArray(value) ? convertToMinute(value) : value// Assuming the array values are duration in the format [hours, minutes, seconds, milliseconds]
16
+
// The Date object takes values in milliseconds rather than seconds. So to use a Unix timestamp we have to multiply it by 1000.
17
+
newDate(time*1000).getTime(),
18
+
// Assuming the array values are duration in the format [hours, minutes, seconds, milliseconds]
19
+
Array.isArray(value) ? convertToMinute(value) : value
<h1style="text-align: center;">Performance Test Report</h1>
86
119
{# Test metadata #}
87
120
<h2>General</h2>
88
-
<hr>
121
+
<h4>The table provides an overview of the comparison between two selected commits from the same branch.</h4>
89
122
<tableclass="meta-table" style="width: 100%">
90
123
<tr>
91
124
<th></th>
@@ -108,19 +141,21 @@ <h2>General</h2>
108
141
109
142
{# Test result summary #}
110
143
<h2>Test result summary</h2>
111
-
<hr>
144
+
<h4>The test summary presents a thorough breakdown of each test conducted on the branch, including details such as build time and disk space consumption. Additionally, it gives insights into the average time taken for test execution, along with absolute and relative values for a better understanding.</h4>
112
145
<tableclass="summary" style="width: 100%">
146
+
<tr>
147
+
<th>Test name</th>
148
+
<th>Measurement description</th>
149
+
<th>Mean value</th>
150
+
<th>Absolute difference</th>
151
+
<th>Relative difference</th>
152
+
</tr>
113
153
{% for test in test_data %}
114
-
{% if loop.index is even %}
115
-
{% set row_style = 'style="background-color: #f2f2f2"' %}
116
-
{% else %}
117
-
{% set row_style = 'style="background-color: #ffffff"' %}
@@ -149,10 +184,12 @@ <h2>Test result summary</h2>
149
184
</table>
150
185
151
186
{# Detailed test results #}
187
+
<h2>Test details</h2>
188
+
<h4>The following section provides details of each test, accompanied by charts representing build time and disk usage over time or by commit number.</h4>
0 commit comments