projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 2/3/10 13:04
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:38
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:27
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 9:26
Michael Larabel  
pts: Drop MD5 hashes in... 
Tue 2/2/10 23:43
Michael Larabel  
phoromatic: Add... 
Tue 2/2/10 23:35
Michael Larabel  
pts-core: Phoromatic... 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index db9a3e1
..0dd54d1 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -18,+18,10 @@ Phoronix Test Suite (git)
 - 
Improved video card detection (use GL renderer and use lspci now only for fallback)
 - 
Add Super PI profile (Thanks to Pekka Panula)
 - 
Compress-gzip update (Thanks to Kano)
+- 
Other updated scripts (Thanks to Kano)
+- 
Doom 3 profile now working
 
Improved distribution detection
+- New results viewer (work in progress)
 - 
Other small fixes

 Phoronix Test Suite 0.1.0
diff 
--git a/pts-core/functions/pts-functions_linux.php b/pts-core/functions/pts-functions_linux.php
index 17ecbf1
..7ade688 100644
--- a/pts-core/functions/pts-functions_linux.php
+++ b/pts-core/functions/pts-functions_linux.php
@@ -153,+153,@@ function graphics_processor_string()
     else
         
$info "";

-    if(empty(
$info) || $info == "Mesa GLX Indirect")
+    if(empty(
$info) || strpos($info"Mesa GLX") !== FALSE || strpos($info"Mesa DRI") !== FALSE)
         
$info parse_lspci_output("VGA compatible controller:");

     return 
$info;
diff --git a/pts-core/pts-results-viewer/old.css b/pts-core/pts-results-viewer/old.css
new file mode 100644
index 0000000.
.fa055c9
--- /dev/null
+++ b/pts-core/pts-results-viewer/old.css
@@ -0,+1,96 @@
+
body
+{
+    
text-alignleft;
+    
margin0;
+    
padding0;
+    
font-familyarialhelveticasans-serif;
+    
font-size14px;
+    
background-color#3b433a;
+}
+
div#pts_container
+{
+    
width960px;
+    
margin0 auto;
+    
text-alignleft;
+    
color#FFF;
+    overflowhidden;
+    
background-color#222;
+    bordersolid #000;
+    border-width0 1px 1px;
+}
+
div#pts_container a
+{
+    
color#FFF;
+}
+
div#pts_logo
+{
+    
margin0;
+    
width960px;
+    
height70px;
+    
background#222 url(phoronix-test-suite.gif) no-repeat;
+    bordersolid #000;
+    border-width0 0 1px 0;
+}
+
div#pts_benchmark_main_header
+{
+    
color#FFF;
+    font-size36px;
+    
font-weightbold;
+    
padding5px 0 5px 15px;
+}
+
div#pts_description_area
+{
+    
padding0 0 5px;
+}
+
div#pts_benchmark_area
+{
+    
background-color#FFF;
+    padding15px 10px;
+    
color#000;
+    overflowhidden;
+}
+
div.pts_benchmark_descriptor
+{
+    
color#EFEFEF;
+    padding5px 20px;
+}
+
div.pts_area_box
+{
+    
background-color#66695B;
+    color#EFEFEF;
+    padding1px 5px 0;
+    
bordersolid #000 1px;
+}
+
div.pts_benchmark_bar
+{
+    
background-color#2b6b29;
+    color#FFF;
+    padding4px;
+    
bordersolid #000 1px;
+    clearboth;
+}
+
span.pts_benchmark_bar_header
+{
+    
font-size18px;
+    
font-weightbold;
+}
+
span.pts_benchmark_bar_version
+{
+    
vertical-alignsuper;
+    
padding-left5px;
+    
font-size10px;
+}
+
div.pts_benchmark_text
+{
+    
padding50px 15px 15px;
+    
floatleft;
+    
overflowhidden;
+}
+
div.pts_benchmark_img_area
+{
+    
padding15px 0 15px 35px;
+    
floatright;
+    
overflowhidden;
+    
height100%;
+    
vertical-alignmiddle;
+}
diff --git a/pts-core/pts-results-viewer/pts-viewer.css b/pts-core/pts-results-viewer/pts-viewer.css
index fa055c9
..ddd1618 100644
--- a/pts-core/pts-results-viewer/pts-viewer.css
+++ b/pts-core/pts-results-viewer/pts-viewer.css
@@ -1,69 +1,153 @@
 
body
 
{
-    
text-alignleft;
+    
text-aligncenter;
     
margin0;
     
padding0;
     
font-familyarialhelveticasans-serif;
-    
font-size14px;
-    
background-color#3b433a;
+    font-size13px;
+    
background-color#FFF;
+    color#000;
 
}
-
div#pts_container
+a
 
{
-    
width960px;
-    
margin0 auto;
-    
text-alignleft;
+    
color#3B433A;
+}
+
div#pts_header_top
+{
+    
width100%;
+    
margin0;
     
color#FFF;
-    overflowhidden;
     
background-color#222;
     
bordersolid #000;
-    border-width0 1px 1px;
+    
border-width0 0 1px;
+}
+
div#pts_header_top_center
+{
+    
width1030px;
+    
margin0 auto;
+    
overflowhidden;
 }
-
div#pts_container a
+div#pts_header_top_title
 
{
+    
font-size42px;
+    
font-weightbold;
+    
floatleft;
+}
+
div#pts_header_top_link_group
+{
+    
padding14px 0 0;
+    
floatright;
+}
+
div#pts_header_top_link_group a
+{
+    
marginauto 6px;
+    
text-decorationnone;
+    
font-weightbold;
+    
font-size18px;
     
color#FFF;
+    padding4px 8px;
+    
bordersolid #EEE 1px;
 
}
-
div#pts_logo
+div#pts_header_top_link_group a:hover
 
{
+    
color#000;
+    background-color#FFF;
+}
+
div#pts_container
+{
+    
text-alignleft;
+    
width920px;
+    
margin0 auto;
+    
overflowhidden;
+    
bordersolid #EEE;
+    border-width0 1px;
+    
min-height700px;
+}
+
div.pts_box
+{
+    
text-alignleft;
+    
bordersolid #8B8F7C 1px;
+    margin10px 10px 20px;
+    
padding1px 10px 15px;
+}
+
div#pts_header_bottom a
+{
+    
color#FFF;
+}
+
div#pts_header_bottom
+{
+    
width100%;
     
margin0;
-    
width960px;
-    
height70px;
-    
background#222 url(phoronix-test-suite.gif) no-repeat;
+    color#FFF;
+    background-color#222;
     
bordersolid #000;
-    border-width0 0 1px 0;
+    
border-width1px 0 0;
 }
-
div#pts_benchmark_main_header
+div#pts_header_bottom_center
 
{
+    
margin2px auto;
+    
padding6px 0 10px;
+    
width970px;
+    
overflowhidden;
+    
font-size12px;
+    
text-aligncenter;
+}
+
div.pts_column_head
+{
+    
font-size12px;
     
color#FFF;
-    font-size36px;
+    
text-aligncenter;
+    
margin0 3px;
+    
background-color#3B433A;
     
font-weightbold;
-    
padding5px 0 5px 15px;
+    
floatleft;
+    
bordersolid #3B433A;
+    border-width1px;
+}
+
div.pts_column_body
+{
+    
font-size12px;
+    
color#000;
+    text-aligncenter;
+    
margin0 3px;
+    
background-color#f5f5f5;
+    floatleft;
+    
bordersolid #66695B;
+    border-width0 1px 1px;
 }
-
div#pts_description_area
+h1
 
{
-    
padding0 0 5px;
+    
margin-top10px;
+    
font-size21px;
+    
color#3B433A;
+    font-weightbold;
 }
-
div#pts_benchmark_area
+div.pts_chart_box
 
{
-    
background-color#FFF;
-    padding15px 10px;
-    
color#000;
+    width95%;
     
overflowhidden;
+    
margin5px auto;
 }
-
div.pts_benchmark_descriptor
+div.pts_chart_box a
 
{
-    
color#EFEFEF;
-    padding5px 20px;
+    
text-decorationnone;
+    
font-weightbold;
 }
-
div.pts_area_box
+div.pts_chart_box a:hover
 
{
-    
background-color#66695B;
-    color#EFEFEF;
-    padding1px 5px 0;
-    
bordersolid #000 1px;
+    text-decorationunderline;
+}
+
div#pts_benchmark_area
+{
+    
background-color#FFF;
+    width90%;
+    
margin5px auto;
+    
color#000;
+    overflowhidden;
 }
 
div.pts_benchmark_bar
 
{
-    
background-color#2b6b29;
+    background-color#40423A;
     
color#FFF;
     
padding4px;
     
bordersolid #000 1px;
diff --git a/pts-core/pts-results-viewer/viewer-old.xsl b/pts-core/pts-results-viewer/viewer-old.xsl
new file mode 100644
index 0000000..580f2b2
--- /dev/null
+++ b/pts-core/pts-results-viewer/viewer-old.xsl
@@ -0,+1,52 @@
+<?
xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:template match="/">
+<html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+        <title>Phoronix Test Suite - Results Viewer</title>
+        <link href="pts-results-viewer/pts-viewer.css" rel="stylesheet" type="text/css" />
+        <script src="pts-results-viewer/pts.js" type="text/javascript"></script>
+    </head>
+    <body>
+        <div id="pts_container">
+            <div id="pts_description_area">
+                <div id="pts_logo"></div>
+                <div id="pts_benchmark_main_header"><xsl:value-of select="PhoronixTestSuite/Suite/Title"/></div>
+                <div class="pts_benchmark_descriptor" id="tsd_show" style="display: none;"><div class="pts_area_box"><p><xsl:value-of select="PhoronixTestSuite/Suite/Description"/></p><p style="font-size: 11px;"><em><xsl:value-of select="PhoronixTestSuite/Suite/Name" /> v<xsl:value-of select="PhoronixTestSuite/Suite/Version" /> is maintained by <xsl:value-of select="PhoronixTestSuite/Suite/Maintainer"/></em></p><p><span style="font-size: 11px;" onclick="switchShow('tsd_hidden');switchShow('tsd_show');">&lt;&lt; Hide Test Details</span></p></div></div>
+                <div class="pts_benchmark_descriptor" id="tsd_hidden"><span style="font-size: 11px;" onclick="switchShow('tsd_hidden');switchShow('tsd_show');hideObject('tips_show');showObject('tips_hidden');">Show Test Details &gt;&gt;</span></div>
+                <div class="pts_benchmark_descriptor"><xsl:value-of select="PhoronixTestSuite/System/Hardware"/></div>
+                <div class="pts_benchmark_descriptor"><xsl:value-of select="PhoronixTestSuite/System/Software"/></div>
+                <div class="pts_benchmark_descriptor"><strong>Phoronix Test Suite v<xsl:value-of select="PhoronixTestSuite/System/Version"/></strong></div>
+                <div class="pts_benchmark_descriptor"><strong>Generated by <xsl:value-of select="PhoronixTestSuite/System/Author"/> on <xsl:value-of select="PhoronixTestSuite/System/TestDate"/></strong></div>
+                <div class="pts_benchmark_descriptor"><strong>Test Notes:</strong>  <xsl:value-of select="PhoronixTestSuite/System/TestNotes"/></div>
+
+<div style="display: none">
+                <div class="pts_benchmark_descriptor" id="tips_hidden"><span style="font-size: 11px;" onclick="switchShow('tips_hidden');switchShow('tips_show');showObject('tsd_hidden');hideObject('tsd_show');">Performance Optimization Tips &gt;&gt;</span></div>
+                <div class="pts_benchmark_descriptor" id="tips_show" style="display: none;"><div class="pts_area_box"><p><span style="font-size: 11px;" onclick="switchShow('tips_hidden');switchShow('tips_show');">&lt;&lt; Hide Tips</span></p>
+
+<p><span style="font-size: 11px;" onclick="switchShow('tips_hidden');switchShow('tips_show');">&lt;&lt; Hide Tips</span></p></div></div>
+</div>
+
+            </div>
+            <div id="pts_benchmark_area">
+                <xsl:for-each select="PhoronixTestSuite/Benchmark">
+                    <div class="pts_benchmark_bar"><span class="pts_benchmark_bar_header"><xsl:value-of select="Name"/></span> <span class="pts_benchmark_bar_version">v<xsl:value-of select="Version"/></span><br /><strong><xsl:value-of select="Attributes"/></strong></div>
+                    <div class="pts_benchmark_text">
+                        <xsl:for-each select="Results/Group">
+                            <div style="padding: 5px 0;">
+                                <xsl:for-each select="Entry">
+                                    <strong><xsl:value-of select="Identifier"/>:</strong><span style="padding-left: 5px;"><xsl:value-of select="Value"/></span><br />
+                                </xsl:for-each>
+                            </div>
+                        </xsl:for-each>
+                    </div>
+                    <div class="pts_benchmark_img_area"><img width="580" height="300"><xsl:attribute name="src">http://www.phoronix-test-suite.com/pts-grapher/r/graph-remote.php?t=<xsl:value-of select="Name" />&amp;s=<xsl:value-of select="Attributes"/>&amp;n=<xsl:value-of select="Version"/>&amp;u=<xsl:value-of select="Scale"/>&amp;p=<xsl:value-of select="Proportion"/>&amp;i=<xsl:for-each select="Results/Group"><xsl:for-each select="Entry"><xsl:value-of select="Identifier"/>;</xsl:for-each></xsl:for-each>&amp;v=<xsl:for-each select="Results/Group"><xsl:for-each select="Entry"><xsl:value-of select="Value"/>;</xsl:for-each></xsl:for-each>
+</xsl:attribute></img></div>
+                </xsl:for-each>
+            </div>
+            <p align="center">The <a href="http://www.phoronix-test-suite.com/">Phoronix Test Suite</a> is developed by <a href="http://www.phoronix.com/">Phoronix</a>, an Internet resource devoted to Linux hardware reviews, video driver articles, and much more.</p>
+        </div>
+    </body>
+</html>
+</xsl:template>
+</xsl:stylesheet>
diff --git a/pts-core/pts-results-viewer/viewer.xsl b/pts-core/pts-results-viewer/viewer.xsl
index 580f2b2..3fb7c74 100644
--- a/pts-core/pts-results-viewer/viewer.xsl
+++ b/pts-core/pts-results-viewer/viewer.xsl
@@ -8,44 +8,67 @@
         <script src="pts-results-viewer/pts.js" type="text/javascript"></script>
     </head>
     <body>
+        <div id="pts_header_top">
+            <div id="pts_header_top_center">
+                <div id="pts_header_top_title">Phoronix Test Suite</div>
+                <div id="pts_header_top_link_group"><a href="http://www.phoronix-test-suite.com/">Phoronix Test Suite</a><a href="http://global.phoronix-test-suite.com/index.php?k=results">PTS Global</a></div>
+            </div>
+        </div>
         <div id="pts_container">
-            <div id="pts_description_area">
-                <div id="pts_logo"></div>
-                <div id="pts_benchmark_main_header"><xsl:value-of select="PhoronixTestSuite/Suite/Title"/></div>
-                <div class="pts_benchmark_descriptor" id="tsd_show" style="display: none;"><div class="pts_area_box"><p><xsl:value-of select="PhoronixTestSuite/Suite/Description"/></p><p style="font-size: 11px;"><em><xsl:value-of select="PhoronixTestSuite/Suite/Name" /> v<xsl:value-of select="PhoronixTestSuite/Suite/Version" /> is maintained by <xsl:value-of select="PhoronixTestSuite/Suite/Maintainer"/></em></p><p><span style="font-size: 11px;" onclick="switchShow('tsd_hidden');switchShow('tsd_show');">&lt;&lt; Hide Test Details</span></p></div></div>
-                <div class="pts_benchmark_descriptor" id="tsd_hidden"><span style="font-size: 11px;" onclick="switchShow('tsd_hidden');switchShow('tsd_show');hideObject('tips_show');showObject('tips_hidden');">Show Test Details &gt;&gt;</span></div>
-                <div class="pts_benchmark_descriptor"><xsl:value-of select="PhoronixTestSuite/System/Hardware"/></div>
-                <div class="pts_benchmark_descriptor"><xsl:value-of select="PhoronixTestSuite/System/Software"/></div>
-                <div class="pts_benchmark_descriptor"><strong>Phoronix Test Suite v<xsl:value-of select="PhoronixTestSuite/System/Version"/></strong></div>
-                <div class="pts_benchmark_descriptor"><strong>Generated by <xsl:value-of select="PhoronixTestSuite/System/Author"/> on <xsl:value-of select="PhoronixTestSuite/System/TestDate"/></strong></div>
-                <div class="pts_benchmark_descriptor"><strong>Test Notes:</strong>  <xsl:value-of select="PhoronixTestSuite/System/TestNotes"/></div>
-
-<div style="display: none">
-                <div class="pts_benchmark_descriptor" id="tips_hidden"><span style="font-size: 11px;" onclick="switchShow('tips_hidden');switchShow('tips_show');showObject('tsd_hidden');hideObject('tsd_show');">Performance Optimization Tips &gt;&gt;</span></div>
-                <div class="pts_benchmark_descriptor" id="tips_show" style="display: none;"><div class="pts_area_box"><p><span style="font-size: 11px;" onclick="switchShow('tips_hidden');switchShow('tips_show');">&lt;&lt; Hide Tips</span></p>
-
-<p><span style="font-size: 11px;" onclick="switchShow('tips_hidden');switchShow('tips_show');">&lt;&lt; Hide Tips</span></p></div></div>
-</div>
+
+            <div class="pts_box">
+
+                <h1><xsl:value-of select="PhoronixTestSuite/Suite/Title" /></h1>
+                <p><xsl:value-of select="PhoronixTestSuite/Suite/Name" /> v<xsl:value-of select="PhoronixTestSuite/Suite/Version" /> (<xsl:value-of select="PhoronixTestSuite/Suite/Type" /> Benchmarks)</p>
+                <p id="tsd_show" style="display: none;"><div class="pts_area_box"><p><xsl:value-of select="PhoronixTestSuite/Suite/Description"/></p><p style="font-size: 11px;"><em>This test is maintained by <xsl:value-of select="PhoronixTestSuite/Suite/Maintainer" />.</em></p><p><a onclick="switchShow('tsd_hidden');switchShow('tsd_show');">&lt;&lt; Hide Test Details</a></p></div></p>
+                <p class="pts_benchmark_descriptor" id="tsd_hidden"><a onclick="switchShow('tsd_hidden');switchShow('tsd_show');hideObject('tips_show');showObject('tips_hidden');">Show Test Details &gt;&gt;</a></p>
+                <xsl:variable name="idcount"><xsl:value-of select="count(PhoronixTestSuite/System)" /></xsl:variable>
+                <xsl:variable name="idwidth"><xsl:value-of select="floor(820 div $idcount) - 1" /></xsl:variable>
+                <h1>System Hardware</h1>
+                <div class="pts_chart_box">
+                <xsl:for-each select="PhoronixTestSuite/System"><div class="pts_column_head"><xsl:attribute name="style">width: <xsl:value-of select="$idwidth" />px;</xsl:attribute><xsl:value-of select="AssociatedIdentifiers" /></div></xsl:for-each>
+                <xsl:for-each select="PhoronixTestSuite/System"><div class="pts_column_body"><xsl:attribute name="style">width: <xsl:value-of select="$idwidth" />px;</xsl:attribute><xsl:value-of select="Hardware" /></div></xsl:for-each>
+                </div>
+                <h1>System Software</h1>
+                <div class="pts_chart_box">
+                <xsl:for-each select="PhoronixTestSuite/System"><div class="pts_column_head"><xsl:attribute name="style">width: <xsl:value-of select="$idwidth" />px;</xsl:attribute><xsl:value-of select="AssociatedIdentifiers" /></div></xsl:for-each>
+                <xsl:for-each select="PhoronixTestSuite/System"><div class="pts_column_body"><xsl:attribute name="style">width: <xsl:value-of select="$idwidth" />px;</xsl:attribute><xsl:value-of select="Software" /></div></xsl:for-each>
+                </div>
+                <h1>Additional Details</h1>
+                <div class="pts_chart_box">
+                <xsl:for-each select="PhoronixTestSuite/System"><div class="pts_column_head"><xsl:attribute name="style">width: <xsl:value-of select="$idwidth" />px;</xsl:attribute><xsl:value-of select="AssociatedIdentifiers" /></div></xsl:for-each>
+                <xsl:for-each select="PhoronixTestSuite/System"><div class="pts_column_body"><xsl:attribute name="style">width: <xsl:value-of select="$idwidth" />px;</xsl:attribute><strong>Author:</strong> <xsl:value-of select="AssociatedIdentifiers" /><br /><strong>Test Date/Time:</strong> <xsl:value-of select="TestDate" /><br /><strong>PTS Version:</strong> <xsl:value-of select="Version" /></div></xsl:for-each>
+                </div>

             </div>
-            <div id="pts_benchmark_area">
-                <xsl:for-each select="PhoronixTestSuite/Benchmark">
-                    <div class="pts_benchmark_bar"><span class="pts_benchmark_bar_header"><xsl:value-of select="Name"/></span> <span class="pts_benchmark_bar_version">v<xsl:value-of select="Version"/></span><br /><strong><xsl:value-of select="Attributes"/></strong></div>
-                    <div class="pts_benchmark_text">
-                        <xsl:for-each select="Results/Group">
-                            <div style="padding: 5px 0;">
-                                <xsl:for-each select="Entry">
-                                    <strong><xsl:value-of select="Identifier"/>:</strong><span style="padding-left: 5px;"><xsl:value-of select="Value"/></span><br />
-                                </xsl:for-each>
-                            </div>
-                        </xsl:for-each>
-                    </div>
-                    <div class="pts_benchmark_img_area"><img width="580" height="300"><xsl:attribute name="src">http://www.phoronix-test-suite.com/pts-grapher/r/graph-remote.php?t=<xsl:value-of select="Name" />&amp;s=<xsl:value-of select="Attributes"/>&amp;n=<xsl:value-of select="Version"/>&amp;u=<xsl:value-of select="Scale"/>&amp;p=<xsl:value-of select="Proportion"/>&amp;i=<xsl:for-each select="Results/Group"><xsl:for-each select="Entry"><xsl:value-of select="Identifier"/>;</xsl:for-each></xsl:for-each>&amp;v=<xsl:for-each select="Results/Group"><xsl:for-each select="Entry"><xsl:value-of select="Value"/>;</xsl:for-each></xsl:for-each>
-</xsl:attribute></img></div>
-                </xsl:for-each>
+
+            <div class="pts_box">
+                <h1>Test Results</h1>
+
+                <div id="pts_benchmark_area">
+                    <xsl:for-each select="PhoronixTestSuite/Benchmark">
+                        <div class="pts_benchmark_bar"><span class="pts_benchmark_bar_header"><xsl:value-of select="Name"/></span> <span class="pts_benchmark_bar_version">v<xsl:value-of select="Version"/></span><br /><strong><xsl:value-of select="Attributes"/></strong></div>
+                        <div class="pts_benchmark_text">
+                            <xsl:for-each select="Results/Group">
+                                <div style="padding: 5px 0;">
+                                    <xsl:for-each select="Entry">
+                                        <strong><xsl:value-of select="Identifier"/>:</strong><span style="padding-left: 5px;"><xsl:value-of select="Value"/></span><br />
+                                    </xsl:for-each>
+                                </div>
+                            </xsl:for-each>
+                        </div>
+                        <div class="pts_benchmark_img_area"><img width="580" height="300"><xsl:attribute name="src">http://www.phoronix-test-suite.com/pts-grapher/r/graph-remote.php?t=<xsl:value-of select="Name" />&amp;s=<xsl:value-of select="Attributes"/>&amp;n=<xsl:value-of select="Version"/>&amp;u=<xsl:value-of select="Scale"/>&amp;p=<xsl:value-of select="Proportion"/>&amp;i=<xsl:for-each select="Results/Group"><xsl:for-each select="Entry"><xsl:value-of select="Identifier"/>;</xsl:for-each></xsl:for-each>&amp;v=<xsl:for-each select="Results/Group"><xsl:for-each select="Entry"><xsl:value-of select="Value"/>;</xsl:for-each></xsl:for-each>
+    </xsl:attribute></img></div>
+                    </xsl:for-each>
+                </div>
+
+
             </div>
-            <p align="center">The <a href="http://www.phoronix-test-suite.com/">Phoronix Test Suite</a> is developed by <a href="http://www.phoronix.com/">Phoronix</a>, an Internet resource devoted to Linux hardware reviews, video driver articles, and much more.</p>
         </div>
+        <div id="pts_header_bottom">
+            <div id="pts_header_bottom_center">The <a href="http://www.phoronix-test-suite.com/">Phoronix Test Suite</a> is developed by <a href="http://www.phoronix.com/">Phoronix</a>, an Internet resource devoted to Linux hardware reviews, video driver articles, and much more.</div>
+        </div>
+
     </body>
 </html>
 </xsl:template>
diff --git a/pts/benchmark-profiles/compress-gzip.xml b/pts/benchmark-profiles/compress-gzip.xml
index ae56e28..80aa6e1 100644
--- a/pts/benchmark-profiles/compress-gzip.xml
+++ b/pts/benchmark-profiles/compress-gzip.xml
@@ -1,6 +1,6 @@
 <PTSBenchmark>
     <PhoronixTestSuite>
-        <Version>0.2</Version>
+        <Version>0.3</Version>
         <BenchmarkType>Processor</BenchmarkType>
         <ApplicationType>Utility</ApplicationType>
         <License>FREE</License>
diff --git a/pts/benchmark-profiles/encode-flac.xml b/pts/benchmark-profiles/encode-flac.xml
index 1b8056b..65a1d1d 100644
--- a/pts/benchmark-profiles/encode-flac.xml
+++ b/pts/benchmark-profiles/encode-flac.xml
@@ -1,6 +1,6 @@
 <PTSBenchmark>
     <PhoronixTestSuite>
-        <Version>0.1</Version>
+        <Version>0.2</Version>
         <BenchmarkType>Processor</BenchmarkType>
         <ApplicationType>Utility</ApplicationType>
         <License>FREE</License>
diff --git a/pts/benchmark-profiles/encode-mp3.xml b/pts/benchmark-profiles/encode-mp3.xml
index 6545bdc..10c65f5 100644
--- a/pts/benchmark-profiles/encode-mp3.xml
+++ b/pts/benchmark-profiles/encode-mp3.xml
@@ -1,6 +1,6 @@
 <PTSBenchmark>
     <PhoronixTestSuite>
-        <Version>0.1</Version>
+        <Version>0.2</Version>
         <BenchmarkType>Processor</BenchmarkType>
         <ApplicationType>Utility</ApplicationType>
         <License>FREE</License>
diff --git a/pts/benchmark-profiles/encode-ogg.xml b/pts/benchmark-profiles/encode-ogg.xml
index dac38aa..086bc35 100644
--- a/pts/benchmark-profiles/encode-ogg.xml
+++ b/pts/benchmark-profiles/encode-ogg.xml
@@ -1,6 +1,6 @@
 <PTSBenchmark>
     <PhoronixTestSuite>
-        <Version>0.1</Version>
+        <Version>0.2</Version>
         <BenchmarkType>Processor</BenchmarkType>
         <ApplicationType>Utility</ApplicationType>
         <License>FREE</License>
diff --git a/pts/benchmark-resources/compress-gzip/install.sh b/pts/benchmark-resources/compress-gzip/install.sh
index 1c7ff72..aa18ac5 100644
--- a/pts/benchmark-resources/compress-gzip/install.sh
+++ b/pts/benchmark-resources/compress-gzip/install.sh
@@ -2,23 +2,16 @@

 cd $1

-if [ ! -f ../pts-shared/pts-wav-sample-file.tar.bz2 ]
+if [ ! -f ../pts-shared/pts-wav-sample-file.wav ]
   then
      wget http://www.phoronix-test-suite.com/benchmark-files/pts-wav-sample-file.tar.bz2 -O ../pts-shared/pts-wav-sample-file.tar.bz2
+     tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2 -C ../pts-shared/
+     rm -f ../pts-shared/pts-wav-sample-file.tar.bz2
 fi

-rm -f bigfile
-tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2
-
-rm -f bigfile-orig
-for i in 1 2 3 4 5 6 7 8
-do
-cat pts-wav-sample-file.wav >> bigfile-orig
-done
-
 cat > gzip_bigfile <<EOT
 #!/bin/sh
-gzip -c bigfile-orig >/dev/null
+for i in 1 2 3 4 5 6 7 8; do cat ../pts-shared/pts-wav-sample-file.wav; done|gzip -c >/dev/null
 EOT
 chmod +x gzip_bigfile

diff --git a/pts/benchmark-resources/compress-gzip/post.sh b/pts/benchmark-resources/compress-gzip/post.sh
deleted file mode 100644
index 433ad37..0000000
--- a/pts/benchmark-resources/compress-gzip/post.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-cd $1
-rm -f bigfile.gz
diff --git a/pts/benchmark-resources/compress-gzip/pre.sh b/pts/benchmark-resources/compress-gzip/pre.sh
index 433ad37..f53506f 100644
--- a/pts/benchmark-resources/compress-gzip/pre.sh
+++ b/pts/benchmark-resources/compress-gzip/pre.sh
@@ -1,4 +1,4 @@
 #!/bin/sh

 cd $1
-rm -f bigfile.gz
+cat ../pts-shared/pts-wav-sample-file.wav > /dev/null
diff --git a/pts/benchmark-resources/encode-flac/install.sh b/pts/benchmark-resources/encode-flac/install.sh
index 4eae3bf..64c2a6d 100644
--- a/pts/benchmark-resources/encode-flac/install.sh
+++ b/pts/benchmark-resources/encode-flac/install.sh
@@ -7,9 +7,11 @@ if [ ! -f flac.tar.gz ]
      wget http://internap.dl.sourceforge.net/sourceforge/flac/flac-1.2.1.tar.gz -O flac.tar.gz
 fi

-if [ ! -f ../pts-shared/pts-wav-sample-file.tar.bz2 ]
+if [ ! -f ../pts-shared/pts-wav-sample-file.wav ]
   then
      wget http://www.phoronix-test-suite.com/benchmark-files/pts-wav-sample-file.tar.bz2 -O ../pts-shared/pts-wav-sample-file.tar.bz2
+     tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2 -C ../pts-shared/
+     rm -f ../pts-shared/pts-wav-sample-file.tar.bz2
 fi

 tar -xvf flac.tar.gz
@@ -19,9 +21,6 @@ make -j $NUM_CPU_JOBS
 cd ..

 echo "#!/bin/sh
-/usr/bin/time -f \"WAV To FLAC Encode Time: %e Seconds\" ./flac-1.2.1/src/flac/flac -s --best audio.wav 2>&1
-rm -f audio.flac" > flac
+/usr/bin/time -f \"WAV To FLAC Encode Time: %e Seconds\" ./flac-1.2.1/src/flac/flac -s --best ../pts-shared/pts-wav-sample-file.wav 2>&1
+rm -f ../pts-shared/pts-wav-sample-file.flac" > flac
 chmod +x flac
-
-tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2
-
diff --git a/pts/benchmark-resources/encode-flac/post.sh b/pts/benchmark-resources/encode-flac/post.sh
index dd74f62..4c8b78c 100644
--- a/pts/benchmark-resources/encode-flac/post.sh
+++ b/pts/benchmark-resources/encode-flac/post.sh
@@ -1,5 +1,4 @@
 #!/bin/sh

 cd $1
-rm -f audio.wav
-rm -f audio.flac
+rm -f pts-wav-sample-file.flac
diff --git a/pts/benchmark-resources/encode-flac/pre.sh b/pts/benchmark-resources/encode-flac/pre.sh
index 8a9984a..4c8b78c 100644
--- a/pts/benchmark-resources/encode-flac/pre.sh
+++ b/pts/benchmark-resources/encode-flac/pre.sh
@@ -1,6 +1,4 @@
 #!/bin/sh

 cd $1
-rm -f audio.wav
-rm -f audio.flac
-cp pts-wav-sample-file.wav audio.wav
+rm -f pts-wav-sample-file.flac
diff --git a/pts/benchmark-resources/encode-mp3/install.sh b/pts/benchmark-resources/encode-mp3/install.sh
index 302bdfc..bd073e2 100644
--- a/pts/benchmark-resources/encode-mp3/install.sh
+++ b/pts/benchmark-resources/encode-mp3/install.sh
@@ -7,9 +7,11 @@ if [ ! -f lame.tar.gz ]
      wget http://superb-east.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz -O lame.tar.gz
 fi

-if [ ! -f ../pts-shared/pts-wav-sample-file.tar.bz2 ]
+if [ ! -f ../pts-shared/pts-wav-sample-file.wav ]
   then
      wget http://www.phoronix-test-suite.com/benchmark-files/pts-wav-sample-file.tar.bz2 -O ../pts-shared/pts-wav-sample-file.tar.bz2
+     tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2 -C ../pts-shared/
+     rm -f ../pts-shared/pts-wav-sample-file.tar.bz2
 fi

 tar -xvf lame.tar.gz
@@ -19,8 +21,7 @@ make -j $NUM_CPU_JOBS
 cd ..

 echo "#!/bin/sh
-/usr/bin/time -f \"WAV To MP3 Encode Time: %e Seconds\" ./lame-3.97/frontend/lame --silent -h audio.wav audio.mp3 2>&1" > lame
+rm -f audio.mp3
+/usr/bin/time -f \"WAV To MP3 Encode Time: %e Seconds\" ./lame-3.97/frontend/lame --silent -h ../pts-shared/pts-wav-sample-file.wav audio.mp3 2>&1" > lame
 chmod +x lame

-tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2
-
diff --git a/pts/benchmark-resources/encode-mp3/post.sh b/pts/benchmark-resources/encode-mp3/post.sh
index 328f787..77ab096 100644
--- a/pts/benchmark-resources/encode-mp3/post.sh
+++ b/pts/benchmark-resources/encode-mp3/post.sh
@@ -1,5 +1,4 @@
 #!/bin/sh

 cd $1
-rm -f audio.wav
 rm -f audio.mp3
diff --git a/pts/benchmark-resources/encode-mp3/pre.sh b/pts/benchmark-resources/encode-mp3/pre.sh
index 6697d3a..77ab096 100644
--- a/pts/benchmark-resources/encode-mp3/pre.sh
+++ b/pts/benchmark-resources/encode-mp3/pre.sh
@@ -1,6 +1,4 @@
 #!/bin/sh

 cd $1
-rm -f audio.wav
 rm -f audio.mp3
-cp pts-wav-sample-file.wav audio.wav
diff --git a/pts/benchmark-resources/encode-ogg/install.sh b/pts/benchmark-resources/encode-ogg/install.sh
index c273c10..8906c9c 100644
--- a/pts/benchmark-resources/encode-ogg/install.sh
+++ b/pts/benchmark-resources/encode-ogg/install.sh
@@ -17,9 +17,11 @@ if [ ! -f vorbis-tools.tar.gz ]
      wget http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.2.0.tar.gz -O vorbis-tools.tar.gz
 fi

-if [ ! -f ../pts-shared/pts-wav-sample-file.tar.bz2 ]
+if [ ! -f ../pts-shared/pts-wav-sample-file.wav ]
   then
      wget http://www.phoronix-test-suite.com/benchmark-files/pts-wav-sample-file.tar.bz2 -O ../pts-shared/pts-wav-sample-file.tar.bz2
+     tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2 -C ../pts-shared/
+     rm -f ../pts-shared/pts-wav-sample-file.tar.bz2
 fi

 THIS_DIR=$(pwd)
@@ -48,7 +50,5 @@ make install
 cd ..

 echo "#!/bin/sh
-/usr/bin/time -f \"WAV To OGG Encode Time: %e Seconds\" ./vorbis/bin/oggenc --quiet audio.wav -q 10 -o audio.ogg 2>&1" > oggenc
+/usr/bin/time -f \"WAV To OGG Encode Time: %e Seconds\" ./vorbis/bin/oggenc --quiet ../pts-shared/pts-wav-sample-file.wav -q 10 -o audio.ogg 2>&1" > oggenc
 chmod +x oggenc
-
-tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2
diff --git a/pts/benchmark-resources/encode-ogg/post.sh b/pts/benchmark-resources/encode-ogg/post.sh
index d6ce716..acccc70 100644
--- a/pts/benchmark-resources/encode-ogg/post.sh
+++ b/pts/benchmark-resources/encode-ogg/post.sh
@@ -1,5 +1,4 @@
 #!/bin/sh

 cd $1
-rm -f audio.wav
 rm -f audio.ogg
diff --git a/pts/benchmark-resources/encode-ogg/pre.sh b/pts/benchmark-resources/encode-ogg/pre.sh
index 5ae5f05..e070224 100644
--- a/pts/benchmark-resources/encode-ogg/pre.sh
+++ b/pts/benchmark-resources/encode-ogg/pre.sh
@@ -1,6 +1,5 @@
 #!/bin/sh

 cd $1
-rm -f audio.wav
 rm -f audio.ogg
-cp pts-wav-sample-f
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media