Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
The Computer Language Benchmarks Game - Website April 2011 Isaac Gouy AUDIENCE - ? OVERVIEW - this is a low volume website - about 1,000 unique visitors per day and 5-6 page views per visit; with very rare peaks from 8,000 to 30,000 unique visitors per day. - this is by-design a very simple website, which avoids all changes to the default webserver configuration (no URL rewriting). - this is by-design a very simple website, which only requires HTML and CSS support in the browser. - this is a dynamic website pulling together a dozen different scripts and data files and configuration files to generate a web page. #1 BACKGROUND - over 5 years this website has changed in small and large ways, and the configuration files and script files provide some functionality that is no longer required. Occasionally obsolete functionality is removed but usually not until other changes are being made. Be aware, there are cobwebs. - the contents of shootout/website/websites is no longer swept to the webserver on the hour every hour. Instead ssh is used to explicitly update htdocs when needed. - most of the configurability in the config.php files is no longer used (for example shootout/website/websites/u64/config.php) OBSOLETE directories website/websites/css website/websites/image website/websites/feeds OBSOLETE directories that redirect to the homepage website/websites/contests website/websites/deb website/websites/gp4sandbox website/websites/great website/websites/old website/websites/sandbox DORMANT directories website/websites/gp4 website/websites/debian website/websites/demo website/websites/demo2 ACTIVE directories website/websites/u32 website/websites/u32q website/websites/u64 website/websites/u64q #2 EXAMPLE PAGE - http://shootout.alioth.debian.org/u64/csharp.php - csharp.php <?php ob_start('ob_gzhandler'); require_once('config.php'); $T = 'all'; $L = 'csharp'; $metaRobots = ''; require_once(LIB_PATH.'compare.php'); ?> define paths and some variables for the u64 webpages set which benchmarks and which language implementations filter the data and set template variables for 'compare.tpl.php' (See Brian E. Lozier's website/lib/lib.php) #3 PHP SCRIPTS - Originally more script functions were placed in library files and those lib_* files were included into the pages; but now some functions are defined for more than one page, rather than include many functions for the sake of reusing one or two. So website/lib/compare.php defines Percentiles and Median, duplicating the definitions in website/lib/boxplot.php rather than include website/lib/lib_boxplot.php (With the notable exception of the objects in website/lib/lib_chart.php)