Skip to content

Commit

Permalink
2010-10-28 Lucas Forschler <lforschler@apple.com>
Browse files Browse the repository at this point in the history
        Reviewed by Geoffrey Garen.

        Bug 46927 - Sunspider 0.9 web site should prominently link to Sunspider 0.9.1
        Notes:
            -Created a new sunspider "landing" page which lists current and previous versions of SunSpider.
            -Edited the .htaccess file to redirect the old pages to the new landing page.
            -This should keep our search engine page rankings effective.
        Potentially breaking:
            -This COULD potentially break the SunSpider benchmark.
            -Local testing with relative links seems to function as expected.
            -The .htaccess 301 redirects are UNTESTED.

        * .htaccess:
        * perf/sunspider: Added.
        * perf/sunspider-0.9.1/sunspider.html: Removed.
        * perf/sunspider-0.9.1/versions.html: Removed.
        * perf/sunspider-0.9/sunspider.html: Removed.
        * perf/sunspider/sunspider.css: Added.
        * perf/sunspider/sunspider.html: Added.

Canonical link: https://commits.webkit.org/61335@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Oct 28, 2010
1 parent d5b77f2 commit 7190f77
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 137 deletions.
5 changes: 4 additions & 1 deletion WebKitSite/.htaccess
@@ -1,4 +1,7 @@
AddType application/x-httpd-php html
AddType text/cache-manifest manifest

RewriteRule .*webdevelopers.* http://trac.webkit.org/projects/webkit/wiki/WebDevelopers [R=301]
RewriteRule .*webdevelopers.* http://trac.webkit.org/projects/webkit/wiki/WebDevelopers [R=301]
Redirect 301 /perf/sunspider-0.9/sunspider.html /perf/sunspider/sunspider.html
Redirect 301 /perf/sunspider-0.9.1/sunspider.html /perf/sunspider/sunspider.html
Redirect 301 /perf/sunspider-0.9.1/versions.html /perf/sunspider/sunspider.html
23 changes: 23 additions & 0 deletions WebKitSite/ChangeLog
@@ -1,3 +1,26 @@
2010-10-28 Lucas Forschler <lforschler@apple.com>

Reviewed by Geoffrey Garen.

Bug 46927 - Sunspider 0.9 web site should prominently link to Sunspider 0.9.1
Notes:
-Created a new sunspider "landing" page which lists current and previous versions of SunSpider.
-Edited the .htaccess file to redirect the old pages to the new landing page.
-This should keep our search engine page rankings effective.
Potentially breaking:
-This COULD potentially break the SunSpider benchmark.
-Local testing with relative links seems to function as expected.
-The .htaccess 301 redirects are UNTESTED.


* .htaccess:
* perf/sunspider: Added.
* perf/sunspider-0.9.1/sunspider.html: Removed.
* perf/sunspider-0.9.1/versions.html: Removed.
* perf/sunspider-0.9/sunspider.html: Removed.
* perf/sunspider/sunspider.css: Added.
* perf/sunspider/sunspider.html: Added.

2010-10-19 Jenn Braithwaite <jennb@chromium.org>

Reviewed by David Levin.
Expand Down
81 changes: 0 additions & 81 deletions WebKitSite/perf/sunspider-0.9.1/sunspider.html

This file was deleted.

54 changes: 0 additions & 54 deletions WebKitSite/perf/sunspider-0.9.1/versions.html

This file was deleted.

31 changes: 31 additions & 0 deletions WebKitSite/perf/sunspider/sunspider.css
@@ -0,0 +1,31 @@

body { font-family: sans-serif;
margin: 20px;
background-color: #D9D5A1;
color: #1B0636 }

h2 { background-color: #4E8AB9;
margin: -20px -20px 0px -20px;
padding: 30px 20px 30px 20px;
color: yellow;
border-bottom: 2px solid #360D6B;
zoom: 1.0 /* I CAN HAS LAYOUT? (ie hack) */ }

dt { font-weight: bold }

dd { margin-bottom: 1em; margin-top: 0.5em }

:link { color: #1363A1 }
:visited { color: #5113A1 }

#testframe { margin-top: 20px;
width: 80%;
height: 500px;
border: 2px solid #360D6B }

#logo { float: left;
position: relative;
bottom: 0.33em;
padding-right: 20px;
margin-bottom: -40px;
font-size: 3em }
Expand Up @@ -69,10 +69,17 @@ <h2><span id="logo">&#x2600;</span>SunSpider JavaScript Benchmark</h2>

</dl>

<p><a href="sunspider-driver.html">Start Now!</a><br>
<p><b>Current Version</b><br>
<a href="../sunspider-0.9.1/sunspider-0.9.1/driver.html">Start SunSpider 0.9.1 now!</a><br>
<small>(When you run the benchmark, be patient - it loops through all of the
test cases five times and can take a minute or longer to complete.)</small></p>

<p>
Previous Versions<br>
<li>
<a href="../sunspider-0.9/sunspider-driver.html">SunSpider 0.9</a><br>
</li>
</p>
</body>

</html>

0 comments on commit 7190f77

Please sign in to comment.