Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49
Recent Commits
>
--git a/CHANGE-LOG b/CHANGE-LOG
index 44f2157..9da4eb2 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -2,6 +2,7 @@ PHORONIX TEST SUITE CHANGE-LOG
Phoronix Test Suite (Git)
+- pts-core: Initial implementation of the PTS4 Local Results Viewer
- pts-core: Initial command of ob-test-profile-analyze
- phodevi: Additional fall-back support when GPU driver doesn't expose all standard mode-setting modes
- timed_screenshot: Overhaul of the timed screenshot PTS module
diff --git a/pts-core/results-viewer/phoronix-test-suite.css b/pts-core/results-viewer/phoronix-test-suite.css
index d0eb520..961449a 100644
--- a/pts-core/results-viewer/phoronix-test-suite.css
+++ b/pts-core/results-viewer/phoronix-test-suite.css
@@ -15,85 +15,18 @@ a:hover
{
text-decoration: underline;
}
-div#pts_header_top
-{
- width: 100%;
- margin: 0;
- color: #FFF;
- background-color: #454545;
- border: solid #333;
- border-width: 0 0 1px;
-}
-div.pts_header_center
-{
- min-width: 940px;
- width: 60%;
- margin: 0 auto;
- overflow: hidden;
-}
-div#pts_header_top_logo
-{
- position: relative;
- float: left;
- background-image: url(pts-header.png);
- margin: 5px 0;
- width: 510px;
- height: 60px;
-}
-div#pts_header_top_title
-{
- font-size: 40px;
- margin: 10px 0 0 15px;
- float: left;
-}
-div.pts_header_links
-{
- margin: 4px 0 0;
- text-align: right;
- font-size: 11px;
- float: right;
-}
-div.pts_header_links_left
-{
- margin: 4px 0 0;
- text-align: left;
- font-size: 11px;
- float: left;
-}
div#pts_container
{
text-align: left;
min-width: 940px;
- width: 60%;
- margin: 0 auto;
- overflow: hidden;
- border: solid #919191;
- border-width: 0 1px;
- background-color: #FFF;
-}
-div#pts_header_bottom a
-{
- color: #FFF;
-}
-div#pts_header_bottom
-{
- width: 100%;
- margin: 0;
- color: #FFF;
- background-color: #454545;
- border: solid #333;
- border-width: 1px 0 0;
- padding-bottom: 5px;
-}
-div#pts_header_bottom_center
-{
- margin: 2px auto;
- padding: 6px 0 10px;
- width: 940px;
- width: 60%;
+ background: #FFF;
+ width: 80%;
+ margin: 10px auto 30px;
overflow: hidden;
- font-size: 12px;
- text-align: center;
+ border: 1px solid #D7D7D7;
+ box-shadow: 1px 1px 4px #000;
+ -moz-box-shadow: 1px 1px 4px #000;
+ -webkit-box-shadow: 1px 1px 4px #000;
}
div.pts_column_head
{
@@ -103,12 +36,23 @@ div.pts_column_head
font-weight: bold;
display: table-row;
}
+a#pts_top_logo
+{
+ display: block;
+ width: 160px;
+ height: 83px;
+ background: transparent url(pts-logo-light.png);
+}
+a#pts_top_logo:hover
+{
+ background: transparent url(pts-logo.png);
+}
h1
{
margin-left: 10px;
margin-top: 10px;
font-size: 21px;
- color: #454545;
+ color: #044374;
font-weight: bold;
}
p
@@ -210,34 +154,34 @@ div.pts_benchmark_img_table_area
div#pts_copyright_area
{
clear: both;
- background-color: #BABABA;
+ background-color: #044374;
text-align: center;
- padding: 0 -10px -15px;
- border: solid #919191;
- border-width: 1px 0 0;
- padding: 1px 0;
- color: #454545;
+ border: 0;
+ font-size: 10px;
+ font-weight: bold;
+ padding: 2px;
+ margin: 20px 0 0;
+ color: #FFF;
}
div#pts_banner_nav
{
- height: 36px;
- width: 100%;
+ height: 28px;
background: #266c29 url(horizontal-nav-bg.png) repeat-x;
- border: solid #949494;
- border-width: 0 0 1px;
+ border: solid #949494 1px;
text-align: center;
color: #FFF;
font-weight: bold;
- font-size: 16px;
+ font-size: 14px;
padding-right: 1px;
+ margin: 4px 10px;
}
div#pts_banner_nav a
{
- width: 20%;
- height: 36px;
+ width: 15%;
+ height: 100%;
display: block;
float: left;
- line-height: 36px;
+ line-height: 28px;
margin-right: -1px;
border: solid #333;
border-width: 0 1px 0 0;
diff --git a/pts-core/results-viewer/pts-header.png b/pts-core/results-viewer/pts-header.png
deleted file mode 100644
index 77c1682..0000000
Binary files a/pts-core/results-viewer/pts-header.png and /dev/null differ
diff --git a/pts-core/results-viewer/pts-logo-light.png b/pts-core/results-viewer/pts-logo-light.png
new file mode 100644
index 0000000..dd61acb
Binary files /dev/null and b/pts-core/results-viewer/pts-logo-light.png differ
diff --git a/pts-core/results-viewer/pts-logo.png b/pts-core/results-viewer/pts-logo.png
new file mode 100644
index 0000000..e5c1879
Binary files /dev/null and b/pts-core/results-viewer/pts-logo.png differ
diff --git a/pts-core/results-viewer/pts-results-viewer.xsl b/pts-core/results-viewer/pts-results-viewer.xsl
index 6ddc72c..d507567 100644
--- a/pts-core/results-viewer/pts-results-viewer.xsl
+++ b/pts-core/results-viewer/pts-results-viewer.xsl
@@ -24,59 +24,41 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Phoronix Test Suite - <xsl:value-of select="PhoronixTestSuite/Generated/Title" /> - Results</title>
+ <title><xsl:value-of select="PhoronixTestSuite/Generated/Title" /> - <xsl:value-of select="PhoronixTestSuite/Generated/TestClient" /> - Results</title>
<link href="../pts-results-viewer/phoronix-test-suite.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="../pts-results-viewer/favicon.ico" />
<script src="../pts-results-viewer/pts.js" type="text/javascript"></script>
</head>
<body>
- <div id="pts_header_top">
- <div class="pts_header_center">
- <div id="pts_header_top_logo"></div>
- <div class="pts_header_links"><em><strong><xsl:value-of select="PhoronixTestSuite/Generated/TestClient" /></strong><br /><strong>Generated:</strong> <xsl:value-of select="PhoronixTestSuite/Generated/LastModified" /><br /></em></div>
- </div>
- </div>
<div id="pts_container">
- <div id="pts_banner_nav"><a href="#result-overview">Results Table</a> <a href="#test-results">Test Results</a> <a href="system-logs/">System Logs</a> <a href="test-logs/">Test Logs</a></div>
-
+ <div style="overflow: hidden;">
+ <div style="text-align: right; float: right; clear: right; margin: 12px 10px 6px 8px;"><a href="http://www.phoronix-test-suite.com/" id="pts_top_logo"></a></div>
<h1><xsl:value-of select="PhoronixTestSuite/Generated/Title" /></h1>
- <p><xsl:value-of select="PhoronixTestSuite/Generated/Description"/></p>
- <p><em><xsl:value-of select="PhoronixTestSuite/Generated/Notes"/></em></p>
+ <p style="color: #757575;"><xsl:value-of select="PhoronixTestSuite/Generated/Description"/></p>
+ <p style="color: #757575;"><em>Generated by <xsl:value-of select="PhoronixTestSuite/Generated/TestClient" /> on <xsl:value-of select="PhoronixTestSuite/Generated/LastModified" />.</em></p>
+ </div>
+ <div id="pts_banner_nav"><a href="#system_info">System Information</a> <a href="#result-overview">Results Overview</a> <a href="#test-results">Test Results</a> <a href="system-logs/">System Logs</a> <a href="test-logs/">Test Logs</a></div>
- <h1>System Information</h1>
- <div align="center" style="width: 100%; overflow: auto;"><!-- SYSTEMS TAG --></div>
- <div align="center" style="width: 100%; overflow: auto;"><!-- DETAILED_COMPONENT TAG --></div>
- <div class="pts_table_box_out"><table border="0">
- <tr class="pts_column_head">
- <xsl:for-each select="PhoronixTestSuite/System"><td><xsl:value-of select="Identifier" /></td></xsl:for-each>
- </tr>
- <tr>
- <xsl:for-each select="PhoronixTestSuite/System"><td><strong>Administrator:</strong> <xsl:value-of select="User" /><br /><strong>Date:</strong> <xsl:value-of select="TimeStamp" /><br /><strong>Test Client Version:</strong> <xsl:value-of select="TestClientVersion" /><br /><strong>Test Notes:</strong> <xsl:value-of select="Notes" /></td></xsl:for-each>
- </tr>
- </table></div>
+ <a name="system_info"></a><h1>System Information</h1>
+ <div align="center" style="width: 100%; overflow: auto;"><object type="image/svg+xml"><xsl:attribute name="width">auto</xsl:attribute><xsl:attribute name="height">auto</xsl:attribute><xsl:attribute name="data">result-graphs/systems.svg</xsl:attribute></object></div>
+ <div align="center" style="width: 100%; overflow: auto;"><object type="image/svg+xml"><xsl:attribute name="width">auto</xsl:attribute><xsl:attribute name="height">auto</xsl:attribute><xsl:attribute name="data">result-graphs/detailed_component.svg</xsl:attribute></object></div>
<a name="result-overview"></a><h1>Results Overview</h1>
- <div align="center" style="width: 100%; overflow: auto;"><!-- RADAR TAG --></div>
- <div align="center" style="width: 100%; overflow: auto;"><!-- OVERVIEW TAG --></div>
- <div align="center" style="width: 100%; margin-top: 20px; overflow: auto;"><!-- VISUALIZE TAG --></div>
+ <div align="center" style="width: 100%; overflow: auto;"><object type="image/svg+xml"><xsl:attribute name="width">auto</xsl:attribute><xsl:attribute name="height">auto</xsl:attribute><xsl:attribute name="data">result-graphs/radar.svg</xsl:attribute></object></div>
+ <div align="center" style="width: 100%; margin-top: 20px; overflow: auto;"><object type="image/svg+xml"><xsl:attribute name="width">auto</xsl:attribute><xsl:attribute name="height">auto</xsl:attribute><xsl:attribute name="data">result-graphs/overview.svg</xsl:attribute></object></div>
+ <div align="center" style="width: 100%; margin-top: 20px; overflow: auto;"><object type="image/svg+xml"><xsl:attribute name="width">auto</xsl:attribute><xsl:attribute name="height">auto</xsl:attribute><xsl:attribute name="data">result-graphs/visualize.svg</xsl:attribute></object></div>
<a name="test-results"></a><h1>Test Results</h1>
<div id="pts_benchmark_area">
<xsl:for-each select="PhoronixTestSuite/Result">
<xsl:variable name="this_test_pos" select="position()" />
<div class="pts_benchmark_bar"><div style="float: left;"><a><xsl:attribute name="name">test-<xsl:value-of select="$this_test_pos" /></xsl:attribute></a><a><xsl:attribute name="name">b-<xsl:value-of select="$this_test_pos" /></xsl:attribute></a><span class="pts_benchmark_bar_header"><xsl:value-of select="Title"/></span> <span class="pts_benchmark_bar_version"><xsl:value-of select="AppVersion"/></span><br /><strong><xsl:value-of select="ArgumentsDescription"/></strong></div><div style="float: right;"><a style="text-decoration: none;"><xsl:attribute name="href">test-logs/<xsl:value-of select="$this_test_pos" />/</xsl:attribute>View Test Logs</a></div></div>
- <div class="pts_benchmark_img_area"><!-- GRAPH TAG --></div>
+ <div class="pts_benchmark_img_area"><object type="image/svg+xml"><xsl:attribute name="width">auto</xsl:attribute><xsl:attribute name="height">auto</xsl:attribute><xsl:attribute name="data">result-graphs/<xsl:number value="position()" />.svg</xsl:attribute></object></div>
</xsl:for-each>
</div>
<div id="pts_copyright_area">Copyright © 2008 - 2012 by <a href="http://www.phoronix-media.com/">Phoronix Media</a>.</div>
</div>
- <div id="pts_header_bottom">
- <div class="pts_header_center">
- <div class="pts_header_links_left"><a href="http://www.phoronix.com/">Phoronix</a><br /><a href="http://www.phoronix.com/forums/">Phoronix Forums</a><br /><a href="http://commercial.phoronix-test-suite.com/">PTS Commercial</a></div>
- <div class="pts_header_links"><a href="http://www.phoronix-test-suite.com/">Phoronix Test Suite</a><br /><a href="http://www.openbenchmarking.org/">OpenBenchmarking.org</a><br /><a href="http://www.phoromatic.com/">Phoromatic</a></div>
- </div>
- </div>
</body>
Copyright © 2013 by Phoronix Media