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
|
<?php
include("../utilityFunctions.php");
include("../buildproperties.php");
include ("../perfTestConfigs.php");
# Begin: page-specific settings.
$pageTitle = "Performance Test Results for $BUILD_ID";
$pageKeywords = "eclipse,project,plug-ins,plugins,java,ide,swt,refactoring,free java ide,tools,platform,open source,development environment,development,ide";
$pageAuthor = "David Williams and Christopher Guindon";
//ini_set("display_errors", "true");
//error_reporting (E_ALL);
ob_start();
/*
DL.thin.header.php.html was original obtained from
wget https://eclipse.org/eclipse.org-common/themes/solstice/html_template/thin/header.php
and then that file modified to suit our needs.
Occasionally, our version should be compared to the "standard" to see if anything has
changed, in the interest of staying consistent.
See https://eclipse.org/eclipse.org-common/themes/solstice/docs/
*/
$endingBreadCrumbs="<li><a href=\"../$BUILD_DIR_SEG/\">$BUILD_ID</a></li><li class=\"active\">Test Results</li>";
require("../DL.thin.header.php.html");
?>
<h3 name="Performancefingerprint">Performance fingerprint</h3>
<?php
$performanceDir=".";
$performance = dir($performanceDir);
$index=0;
$fpcount=0;
$fp_file="$performanceDir/global_fp.php";
if (file_exists($fp_file)) {
include($fp_file);
}
while ($file = $performance->read()) {
if (strstr($file,".php")){
$parts=split(".php",$file);
$component=$parts[0];
$start=substr($component, 0, 11);
if ($start == "org.eclipse") {
$componentFps[$fpcount]=$file;
$fpcount++;
}
}
}
?>
<p>
<a name="unit"></a>Legend: <br/>*: Missing reference data. Build used for
comparison specified in ending parenthesis.<br>green: faster,
less memory <br>red: slower, more memory <br>grey:
regression with explanation. Click the bar for notes on this
scenario. <br>x axis: difference between current value and
baseline value as percentage<br>
</p>
<h3 name="ScenarioDetail">Detailed performance data grouped by scenario prefix</h3>
<?php
if (count($componentFps)==0){
echo "Results pending.";
}
else {
$type=$_SERVER['QUERY_STRING'];
if ($type=="") {
$type="fp_type=0";
}
sort($componentFps);
for ($counter=0;$counter<count($componentFps);$counter++){
$parts=split(".php",$componentFps[$counter]);
$prefix=$parts[0];
$href="<A HREF=\"$performanceDir/$componentFps[$counter]?";
$href=$href . $type . "\">$prefix*</A><br>";
echo $href;
}
}
?>
<?php
if (file_exists("../pertestNotes.html")) {
$my_file = file_get_contents("../perftestNotes.html");
echo $my_file;
}
?>
<?php
$rowResultsFile="../performanceResultsTable.html";
if (file_exists($rowResultsFile)) {
include $rowResultsFile;
} else {
include "../testResultsTablesPending.html";
}
$LRrowResultsFile="../performanceLRResultsTables.html";
if (file_exists($LRrowResultsFile)) {
include $LRrowResultsFile;
}
?>
</table>
</div>
</body>
</html>
|