compbench-web-devel Mailing List for CompBenchmarks (Page 3)
Brought to you by:
xfred
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(19) |
Oct
(16) |
Nov
(29) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(38) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Frederic T. <xf...@us...> - 2006-11-30 18:52:25
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv10905 Modified Files: interface.pl Log Message: News tab added in index.cgi. Index: interface.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/interface.pl,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** interface.pl 29 Nov 2006 21:24:23 -0000 1.30 --- interface.pl 30 Nov 2006 18:52:19 -0000 1.31 *************** *** 73,76 **** --- 73,81 ---- 'package', 'benchs' ] }, + 'index' => + { 'tabs' => { 'welcome' => 'Welcome', + 'news' => 'News' }, + 'tabs-order' => [ 'welcome', + 'news' ] }, 'browse' => { 'tabs' => { 'browse' => 'Browse', *************** *** 265,268 **** --- 270,274 ---- $topic=$req->param('topic'); $tab=$req->param('tab'); + if (!defined($tab)) { $tab=${$tabs{$menu}->{'tabs-order'}}[0]; |
From: Frederic T. <xf...@us...> - 2006-11-30 18:51:43
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv10511 Modified Files: index.cgi Log Message: News updated. Index: index.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/index.cgi,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** index.cgi 29 Nov 2006 19:28:30 -0000 1.33 --- index.cgi 30 Nov 2006 18:51:40 -0000 1.34 *************** *** 10,20 **** our $dbh; our $req; our $CVS_DATE = '$Date$'; $req->delete_all(); - html_init('index'); ! print "<h2>Welcome</h2> ! <p>CompBenchmarks is a benchmarking environment for compilers :</p> <ul> <li>It provides the <i>compbenchmarks</i> <a href='/cgi-bin/doc.cgi?tab=package&topic=arch'>package</a> for <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>downloading</a> and <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-eval'>easing usage</a> of <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known C/C++ benchmarks</a>,</li> --- 10,21 ---- our $dbh; our $req; + our $tab; our $CVS_DATE = '$Date$'; + html_init('index', undef); $req->delete_all(); ! if ($tab eq 'welcome') { ! print "<p>CompBenchmarks is a benchmarking environment for compilers :</p> <ul> <li>It provides the <i>compbenchmarks</i> <a href='/cgi-bin/doc.cgi?tab=package&topic=arch'>package</a> for <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>downloading</a> and <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-eval'>easing usage</a> of <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known C/C++ benchmarks</a>,</li> *************** *** 31,40 **** </ul> <p><a href='/cgi-bin/feedback.cgi'>Feedback</a> is welcome.</p> ! <p>I'd especially want to thanks <a href='mailto:kstevens715\@charter.net'>Kyle Stevens</a> for his great feedback and for his patience. Thanks again guy !</p> ! <h2>News</h2> ! <ul>"; ! ! news_display($dbh); ! print "</ul>"; html_end(); --- 32,40 ---- </ul> <p><a href='/cgi-bin/feedback.cgi'>Feedback</a> is welcome.</p> ! <p>I'd especially want to thanks <a href='mailto:kstevens715\@charter.net'>Kyle Stevens</a> for his great feedback and for his patience. Thanks again guy !</p>"; ! } ! if ($tab eq 'news') { ! news_display($dbh); ! } html_end(); |
From: Frederic T. <xf...@us...> - 2006-11-30 18:51:23
|
Update of /cvsroot/compbench/compbenchmarks-web/tools In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv10476 Modified Files: validate.pl Log Message: New pages checked. Index: validate.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/tools/validate.pl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** validate.pl 29 Nov 2006 19:16:41 -0000 1.5 --- validate.pl 30 Nov 2006 18:51:15 -0000 1.6 *************** *** 59,62 **** --- 59,64 ---- 'links.cgi?tab=devel', 'index.cgi', + 'index.cgi?tab=welcome', + 'index.cgi?tab=news', 'doc.cgi', 'downloads.cgi', *************** *** 68,71 **** --- 70,76 ---- 'doc.cgi?tab=package&topic=advanced', 'doc.cgi?tab=benchs', + 'doc.cgi?tab=benchs&topic=gzip', + 'doc.cgi?tab=benchs&topic=nbench-byte', + 'doc.cgi?tab=benchs&topic=scimark2', 'feedback.cgi', 'feedback.cgi?tab=project', |
From: Frederic T. <xf...@us...> - 2006-11-30 18:33:02
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2760 Modified Files: doc.cgi Log Message: Benchmarks' are shown using topics. Index: doc.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/doc.cgi,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** doc.cgi 29 Nov 2006 21:24:34 -0000 1.32 --- doc.cgi 30 Nov 2006 18:32:58 -0000 1.33 *************** *** 19,22 **** --- 19,24 ---- our $CVS_DATE = '$Date$'; + my @benchmarks_list; + sub show_benchmarks { my $package_id = shift; *************** *** 46,58 **** my $sth; my @current; ! my @list = sql_select_array($dbh, $LT_GCC_BENCH_PACKAGE, "name", ! "order by name"); ! print "<p>This page summerizes projects that can be used through <a href='/cgi-bin/doc.cgi?tab=package'>compbenchmarks program</a> to produce benchmarks. "; ! print "Click on links to jump to package description. Note that names may have been a bit modified for internal purpose :</p><ul>"; ! foreach(@list) { ! print "<li><a href='#package-$_'>$_</a></li>\n"; ! } ! print "</ul>"; ! my $request = "select name, url, size, version, comments, license, homepage, author, id from $LT_GCC_BENCH_PACKAGE order by name"; $sth=$dbh->prepare($request); --- 48,55 ---- my $sth; my @current; ! ! print "<p>This page shows information about <b>$topic</b> package, which can be used through <a href='/cgi-bin/doc.cgi?tab=package'>compbenchmarks program</a> to produce benchmarks.</p>"; ! ! my $request = "select name, url, size, version, comments, license, homepage, author, id from $LT_GCC_BENCH_PACKAGE where name='$topic'"; $sth=$dbh->prepare($request); *************** *** 60,64 **** while ( @current = ($sth->fetchrow_array())) { @current=html_array_str(\@current); ! print "<a name='package-$current[0]'></a><table class='packinfo' width='100%' summary='benchmarks'><tr><td class='benchinfo'><a href='$current[6]'>$current[0]</a> $current[3]</td></tr>"; print "<tr><td>"; --- 57,61 ---- while ( @current = ($sth->fetchrow_array())) { @current=html_array_str(\@current); ! print "<table class='packinfo' width='100%' summary='benchmarks'><tr><td class='benchinfo'><a href='$current[6]'>$current[0]</a> $current[3]</td></tr>"; print "<tr><td>"; *************** *** 94,97 **** --- 91,104 ---- my $comp2 = "<a href='http://www.research.att.com/~orost/bench_plus_plus.html'>Bench++</a>"; + config_read("../etc/compbenchmarks-web.conf"); + $dbh=sql_connect(); + @benchmarks_list = sql_select_array($dbh, $LT_GCC_BENCH_PACKAGE, "name", + "order by name"); + my %benchmarks_topics; + + foreach(@benchmarks_list) { + $benchmarks_topics{$_}=$_; + } + html_init('doc', undef, { 'package' => [ *************** *** 100,104 **** 'perl-ui' => 'Dialog-based UI', 'advanced' => 'Advanced usage' }, ! [ 'arch', 'start', 'perl-ui', 'advanced' ] ] }); --- 107,113 ---- 'perl-ui' => 'Dialog-based UI', 'advanced' => 'Advanced usage' }, ! [ 'arch', 'start', 'perl-ui', 'advanced' ] ], ! 'benchs' => [ \%benchmarks_topics, ! \@benchmarks_list ] }); *************** *** 141,145 **** <p>Each supported benchmark is handled through a specific, independant, shared library.</p> </td></tr></table>"; ! print "<a name='arch-ui'></a><h3>High-level user interfaces</h3>< <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; print "<a name='arch-core'></a><h3>compbenchmarks-core program</h3> --- 150,154 ---- <p>Each supported benchmark is handled through a specific, independant, shared library.</p> </td></tr></table>"; ! print "<a name='arch-ui'></a><h3>High-level user interfaces</h3> <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; print "<a name='arch-core'></a><h3>compbenchmarks-core program</h3> *************** *** 263,270 **** html_tip("For every benchmark, the higher is the result, the better is the effisciency."); print "<p>This simple command can be issued by a wrapper script of your choice to run specific benchmarks or for using a options/compilers attribution mechanism that differs from the one applied in user interfaces.</p> ! <h3>Further reading</h3> <code> \$ man compbenchmarks-core # :p </code>"; } } --- 272,280 ---- html_tip("For every benchmark, the higher is the result, the better is the effisciency."); print "<p>This simple command can be issued by a wrapper script of your choice to run specific benchmarks or for using a options/compilers attribution mechanism that differs from the one applied in user interfaces.</p> ! <h3>Further readings</h3> <code> \$ man compbenchmarks-core # :p </code>"; + html_tip("If you want to an in-depth interaction with <i>compbenchmarks</i>, you should look at the <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>technical documention</a>, which presents the API."); } } |
From: Frederic T. <xf...@us...> - 2006-11-30 18:32:17
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2714 Modified Files: html.pl Log Message: Connection is not done if $dbh is defined. Index: html.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/html.pl,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** html.pl 28 Nov 2006 21:49:16 -0000 1.14 --- html.pl 30 Nov 2006 18:32:10 -0000 1.15 *************** *** 29,33 **** config_read("../etc/compbenchmarks-web.conf"); ! $dbh=sql_connect(); if (!defined($dbh)) { --- 29,35 ---- config_read("../etc/compbenchmarks-web.conf"); ! if (!defined($dbh)) { ! $dbh=sql_connect(); ! } if (!defined($dbh)) { |
From: Frederic T. <xf...@us...> - 2006-11-30 18:31:45
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2321 Modified Files: config.pl Log Message: Informations are cached. Index: config.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/config.pl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** config.pl 19 Sep 2006 17:41:14 -0000 1.5 --- config.pl 30 Nov 2006 18:31:35 -0000 1.6 *************** *** 60,66 **** --- 60,72 ---- our $LT_GCC_SYS_USER; + my $config_read = 0; + sub config_read { my ($file) = @_; + if ($config_read) { + return; + } + if (-r $file) { my $line; *************** *** 78,81 **** --- 84,88 ---- eval($code); close(CONF); + $config_read=1; } else { print STDERR "$0: can't read $file.\n"; |
From: Frederic T. <xf...@us...> - 2006-11-29 21:24:37
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20027 Modified Files: doc.cgi Log Message: HTML conformance. Index: doc.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/doc.cgi,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** doc.cgi 29 Nov 2006 19:28:30 -0000 1.31 --- doc.cgi 29 Nov 2006 21:24:34 -0000 1.32 *************** *** 136,152 **** </ul>"; print "<h3>Architecture</h3> ! <table cellpadding='5'><tr><td valign='top'> <img src='$LT_WEB_ICONS/compbenchmarks-arch.png' alt='Architecture overview'> ! </td><p><td valign='top'><i>compbenchmarks</i> is splited in three functionnal blocks (since 0.3.3) : normal users should start take a look at <a href='#arch-ui'>high-level user interfaces</a>. For more in-depth management, the <a href='#arch-core'>compbenchmark-core</a> program is adviced. Finaly, the <a href='#arch-lib'>libcompbenchmarks</a> shared library and related API can be used to implement new benchmark/package support.</p> <p>Each supported benchmark is handled through a specific, independant, shared library.</p> </td></tr></table>"; ! print "<a name='arch-ui'><h3>High-level user interfaces</h3></a> <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; ! print "<a name='arch-core'><h3>compbenchmarks-core program</h3></a> <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by user interfaces)</p>"; ! print "<a name='arch-lib'><h3>libcompbenchmarks</h3></a> <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic frameworks to install and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; ! html_tip("The <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>technical documention</a> presents all concepts, as well as API."); } --- 136,152 ---- </ul>"; print "<h3>Architecture</h3> ! <table cellpadding='5' summary='description'><tr><td valign='top'> <img src='$LT_WEB_ICONS/compbenchmarks-arch.png' alt='Architecture overview'> ! </td><td valign='top'><p><i>compbenchmarks</i> is splited in three functionnal blocks (since 0.3.3) : normal users should start take a look at <a href='#arch-ui'>high-level user interfaces</a>. For more in-depth management, the <a href='#arch-core'>compbenchmark-core</a> program is adviced. Finaly, the <a href='#arch-lib'>libcompbenchmarks</a> shared library and related API can be used to implement new benchmark/package support.</p> <p>Each supported benchmark is handled through a specific, independant, shared library.</p> </td></tr></table>"; ! print "<a name='arch-ui'></a><h3>High-level user interfaces</h3>< <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; ! print "<a name='arch-core'></a><h3>compbenchmarks-core program</h3> <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by user interfaces)</p>"; ! print "<a name='arch-lib'></a><h3>libcompbenchmarks</h3> <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic frameworks to install and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; ! html_tip("The <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>technical documention</a> presents all concepts, as well as API."); } *************** *** 247,253 **** } if ($topic eq 'advanced') { ! print "<p>When embedded <i>compbenchmarks</i>' <a href='/cgi-bin/doc.cgi?tab=package&topic=arch#arch-ui'>user interfaces</a> are not suffiscient, the program <i>compbenchmarks-core</i> may be found useful.</p> <h3>Installing a package/benchmark from a local file</h3> ! <p>When a package is not accessible anymore on the Internet (e.g; through the <a href=/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>download/install menu</a> of <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>), it can be fetched from a local file :</p> <code> \$ compbenchmarks-core --fetch benchpp-whetstone bench++.tar.gz --- 247,253 ---- } if ($topic eq 'advanced') { ! print "<p>When embedded <i>compbenchmarks</i> <a href='/cgi-bin/doc.cgi?tab=package&topic=arch#arch-ui'>user interfaces</a> are not suffiscient, the program <i>compbenchmarks-core</i> may be found useful.</p> <h3>Installing a package/benchmark from a local file</h3> ! <p>When a package is not accessible anymore on the Internet (e.g; through the <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>install menu</a> of <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>), it can be fetched from a local file :</p> <code> \$ compbenchmarks-core --fetch benchpp-whetstone bench++.tar.gz |
From: Frederic T. <xf...@us...> - 2006-11-29 21:24:29
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20005 Modified Files: interface.pl Log Message: HTML conformance. Index: interface.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/interface.pl,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** interface.pl 29 Nov 2006 20:35:08 -0000 1.29 --- interface.pl 29 Nov 2006 21:24:23 -0000 1.30 *************** *** 185,189 **** print "<b>"; } ! print "<a href='/cgi-bin/$menu.cgi?tab=$_' style='text-decoration: none'>${$tabs{$menu}->{tabs}}{$_}</a></td><td class='tab4_$l'>"; --- 185,189 ---- print "<b>"; } ! print "<a href='/cgi-bin/$menu.cgi?tab=$_' style='text-decoration: none'>${$tabs{$menu}->{tabs}}{$_}</a>"; *************** *** 191,195 **** print "</b>"; } ! print "</td><td class='tab_sep'> </td>"; } print "<td colspan='2'></td>"; --- 191,195 ---- print "</b>"; } ! print "</td><td class='tab4_$l'></td><td class='tab_sep'> </td>"; } print "<td colspan='2'></td>"; |
From: Frederic T. <xf...@us...> - 2006-11-29 20:35:18
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv765 Modified Files: interface.pl topic.pl Log Message: Look modified. Index: topic.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/topic.pl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** topic.pl 29 Nov 2006 19:15:45 -0000 1.2 --- topic.pl 29 Nov 2006 20:35:08 -0000 1.3 *************** *** 30,34 **** print "<td class='topic_active'><b>"; } ! print "<a href='?tab=$tab&topic=$_'>$topics->{$_}</a>"; if ($topic eq $_) { print "</b>"; --- 30,34 ---- print "<td class='topic_active'><b>"; } ! print "<a href='?tab=$tab&topic=$_' style='text-decoration: none'>$topics->{$_}</a>"; if ($topic eq $_) { print "</b>"; Index: interface.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/interface.pl,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** interface.pl 29 Nov 2006 19:11:55 -0000 1.28 --- interface.pl 29 Nov 2006 20:35:08 -0000 1.29 *************** *** 181,186 **** } ! print "<td class='tab3_$l'></td><td class='tab8_$l'> ! <a href='/cgi-bin/$menu.cgi?tab=$_' style='text-decoration: none'>${$tabs{$menu}->{tabs}}{$_}</a></td><td class='tab4_$l'></td><td class='tab_sep'> </td>"; } print "<td colspan='2'></td>"; --- 181,195 ---- } ! print "<td class='tab3_$l'></td><td class='tab8_$l'>"; ! if ($l) { ! print "<b>"; ! } ! print "<a href='/cgi-bin/$menu.cgi?tab=$_' style='text-decoration: none'>${$tabs{$menu}->{tabs}}{$_}</a></td><td class='tab4_$l'>"; ! ! ! if ($l) { ! print "</b>"; ! } ! print "</td><td class='tab_sep'> </td>"; } print "<td colspan='2'></td>"; |
From: Frederic T. <xf...@us...> - 2006-11-29 20:09:01
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv23110 Modified Files: downloads.cgi Log Message: HTML conformance. Index: downloads.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/downloads.cgi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** downloads.cgi 29 Nov 2006 19:18:23 -0000 1.1 --- downloads.cgi 29 Nov 2006 20:08:43 -0000 1.2 *************** *** 27,31 **** <p>Misc. and older stuff :</p> <ul> ! <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>Main download area</a></li></ui>"; html_end(); --- 27,31 ---- <p>Misc. and older stuff :</p> <ul> ! <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>Main download area</a></li></ul>"; html_end(); |
From: Frederic T. <xf...@us...> - 2006-11-29 19:28:37
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv8039 Modified Files: doc.cgi index.cgi Log Message: Some links updated. Index: index.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/index.cgi,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** index.cgi 29 Nov 2006 19:18:10 -0000 1.32 --- index.cgi 29 Nov 2006 19:28:30 -0000 1.33 *************** *** 18,22 **** <p>CompBenchmarks is a benchmarking environment for compilers :</p> <ul> ! <li>It provides a <a href='/cgi-bin/doc.cgi?tab=package'>package</a> for <a href='/cgi-bin/doc.cgi?tab=package#usage-download'>downloading</a> and <a href='/cgi-bin/doc.cgi?tab=package#usage-eval'>easing usage</a> of <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known C/C++ benchmarks</a>,</li> <li>The package allows you to specify compilation options and compilers to use, giving results in a common format,</li> <li>This web-site provides a convenient <a href='/cgi-bin/browse.cgi'>browsing formular</a> to analyse imported benchmarks.</li> --- 18,22 ---- <p>CompBenchmarks is a benchmarking environment for compilers :</p> <ul> ! <li>It provides the <i>compbenchmarks</i> <a href='/cgi-bin/doc.cgi?tab=package&topic=arch'>package</a> for <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>downloading</a> and <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-eval'>easing usage</a> of <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known C/C++ benchmarks</a>,</li> <li>The package allows you to specify compilation options and compilers to use, giving results in a common format,</li> <li>This web-site provides a convenient <a href='/cgi-bin/browse.cgi'>browsing formular</a> to analyse imported benchmarks.</li> *************** *** 26,30 **** <p>Of course, interrested people are encouraged to :</p> <ul> ! <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>download</a> the benchmarks, <a href='/cgi-bin/doc.cgi?tab=package'>run them</a>, and share them (unregistered volonteers can \n<a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::Results'>use e-mail</a>)\n</li> <li><a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::New_account'>ask for an account</a> to directly send results to the database</li> <li>or help me in improving either portal or benchmark suite</li> --- 26,30 ---- <p>Of course, interrested people are encouraged to :</p> <ul> ! <li><a href='/cgi-bin/downloads.cgi'>download</a> the <i>compbenchmarks</i> suite, <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>run them</a>, and share them (unregistered volonteers can \n<a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::Results'>use e-mail</a>)\n</li> <li><a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::New_account'>ask for an account</a> to directly send results to the database</li> <li>or help me in improving either portal or benchmark suite</li> Index: doc.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/doc.cgi,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** doc.cgi 29 Nov 2006 19:05:48 -0000 1.30 --- doc.cgi 29 Nov 2006 19:28:30 -0000 1.31 *************** *** 131,137 **** <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known benchmarks and applications</a>. It provides a single interface to :</p> <ul> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-download!!!'>download packages and benchmarks</a></li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-compile!!!'>configure and compile</a> them (with arbitrary C/C++ compilers and optimisation options)</li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-eval!!!'>evaluate them</a>, and store results in a common format. Results can also be imported in <a href='/cgi-bin/browse.cgi'>official database</a>.</li> </ul>"; print "<h3>Architecture</h3> --- 131,137 ---- <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known benchmarks and applications</a>. It provides a single interface to :</p> <ul> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>download packages and benchmarks</a></li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-compile'>configure and compile</a> them (with arbitrary C/C++ compilers and optimisation options)</li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-eval'>evaluate them</a>, and store results in a common format. Results can also be imported in <a href='/cgi-bin/browse.cgi'>official database</a>.</li> </ul>"; print "<h3>Architecture</h3> |
From: Frederic T. <xf...@us...> - 2006-11-29 19:18:27
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv4166 Added Files: downloads.cgi Log Message: First import. --- NEW FILE: downloads.cgi --- #!../bin/perl -w # ***************************************************************************** # $Id: downloads.cgi,v 1.1 2006/11/29 19:18:23 xfred Exp $ # # This project is free software. # See the GNU Public License, in the COPYING file, for details # ***************************************************************************** use strict; use CGI qw/:standard/; push(@INC, "../lib"); require "html.pl"; our $dbh; our $req; our $CVS_DATE = '$Date: 2006/11/29 19:18:23 $'; our $tab; html_init('downloads'); print "<h2>Downloads</h2>"; $req->delete_all(); print "<p>Latest compbenchmarks' package :</p> <ul> <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=166676'>Sources and pre-built binaries</a></li> <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>Technical documentation</a></li> </ul> <p>Misc. and older stuff :</p> <ul> <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>Main download area</a></li></ui>"; html_end(); |
From: Frederic T. <xf...@us...> - 2006-11-29 19:18:21
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv4137 Modified Files: index.cgi Log Message: English correctness. Uses the news.pl. Index: index.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/index.cgi,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** index.cgi 12 Oct 2006 16:36:25 -0000 1.31 --- index.cgi 29 Nov 2006 19:18:10 -0000 1.32 *************** *** 6,9 **** --- 6,10 ---- push(@INC, "../lib"); require "html.pl"; + require "news.pl"; our $dbh; *************** *** 13,16 **** --- 14,18 ---- $req->delete_all(); html_init('index'); + print "<h2>Welcome</h2> <p>CompBenchmarks is a benchmarking environment for compilers :</p> *************** *** 24,28 **** <p>Of course, interrested people are encouraged to :</p> <ul> ! <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>download</a> the benchmarks, <a href='/cgi-bin/doc.cgi?tab=package'>run them</a>, and share them (unregister volonteers can \n<a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::Results'>use e-mail</a>)\n</li> <li><a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::New_account'>ask for an account</a> to directly send results to the database</li> <li>or help me in improving either portal or benchmark suite</li> --- 26,30 ---- <p>Of course, interrested people are encouraged to :</p> <ul> ! <li><a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>download</a> the benchmarks, <a href='/cgi-bin/doc.cgi?tab=package'>run them</a>, and share them (unregistered volonteers can \n<a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::Results'>use e-mail</a>)\n</li> <li><a href='mailto:fred\@linuxtribe.org?subject=CompilerBenchmarks::New_account'>ask for an account</a> to directly send results to the database</li> <li>or help me in improving either portal or benchmark suite</li> *************** *** 31,44 **** <p>I'd especially want to thanks <a href='mailto:kstevens715\@charter.net'>Kyle Stevens</a> for his great feedback and for his patience. Thanks again guy !</p> <h2>News</h2> ! <ul> ! <li>2006-10-21 : 0.3.2 released (<a href='http://sourceforge.net/project/shownotes.php?release_id=454947&group_id=150828'>Changes</a>, <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=166676&release_id=454947'>download section</a>). Almost 9000+ results in database.</li> ! <li>2006-10-04 : 0.3.1 released (<a href='http://sourceforge.net/project/shownotes.php?release_id=452844&group_id=150828'>Changes</a>, <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=166676&release_id=452844'>download section</a>). 4500+ more results imported.</li> ! <li>2006-09-27 : CompBenchmarks suite 0.3.0 is out (<a href='http://sourceforge.net/project/shownotes.php?release_id=450931&group_id=150828'>Changes</a>, <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=166676&release_id=450931'>download section</a>)</li> ! <li>2006-09-26 : Web site upgraded. First results (1800) from 0.3.0-BETA1 imported.</li> ! <li>2006-09-20 : First BETA of 0.3.0 benchmark's suite is out. Check it on <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=166676'>SourceForge download page</a>. New portal'll few online in about two weeks.</li> ! <li>2006-08-26 : I've decided to rewrite suite in C++, to make it more user friendly. Work in progress.</li> ! <li>2005-11-16 : Site updated. New benchmarks suite is coming. 7000+ results in database.</li> ! <li>2005-10-22 : Benchmark suite <a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>0.1.2BETA is out</a>. Many improvements concerning user interface. Sanity checks.</li> ! </ul>"; html_end(); --- 33,40 ---- <p>I'd especially want to thanks <a href='mailto:kstevens715\@charter.net'>Kyle Stevens</a> for his great feedback and for his patience. Thanks again guy !</p> <h2>News</h2> ! <ul>"; ! ! news_display($dbh); ! print "</ul>"; html_end(); |
From: Frederic T. <xf...@us...> - 2006-11-29 19:17:21
|
Update of /cvsroot/compbench/compbenchmarks-web/tools In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv3751 Modified Files: compbenchmarks-heartbeat.pl Log Message: Updates the news file each 24h. Index: compbenchmarks-heartbeat.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/tools/compbenchmarks-heartbeat.pl,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** compbenchmarks-heartbeat.pl 28 Nov 2005 18:28:10 -0000 1.9 --- compbenchmarks-heartbeat.pl 29 Nov 2006 19:17:15 -0000 1.10 *************** *** 17,20 **** --- 17,23 ---- require "session.pl"; require "update.pl"; + require "news.pl"; + + our $NEWS_FILE; config_read("../etc/compbenchmarks-web.conf"); *************** *** 39,43 **** foreach(@rem) { my $d; ! my (@el) = stat("$LT_TMP_DIR/$_"); $d=$t-$el[9]; --- 42,48 ---- foreach(@rem) { my $d; ! if ($_ eq $NEWS_FILE) { ! next; ! } my (@el) = stat("$LT_TMP_DIR/$_"); $d=$t-$el[9]; |
From: Frederic T. <xf...@us...> - 2006-11-29 19:16:46
|
Update of /cvsroot/compbench/compbenchmarks-web/tools In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv3387 Modified Files: validate.pl Log Message: Updated for new topics/pages. Index: validate.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/tools/validate.pl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** validate.pl 10 Oct 2006 17:21:03 -0000 1.4 --- validate.pl 29 Nov 2006 19:16:41 -0000 1.5 *************** *** 20,24 **** my $cookie_file = "validate-cookies-$$.txt"; ! my $SERVER_BASE = "http://localhost:8080/cgi-bin/"; my $idx = 0; my $verbose = 0; --- 20,24 ---- my $cookie_file = "validate-cookies-$$.txt"; ! my $SERVER_BASE = "http://localhost:80/cgi-bin/"; my $idx = 0; my $verbose = 0; *************** *** 60,65 **** --- 60,70 ---- 'index.cgi', 'doc.cgi', + 'downloads.cgi', 'doc.cgi?tab=motivations', 'doc.cgi?tab=package', + 'doc.cgi?tab=package&topic=arch', + 'doc.cgi?tab=package&topic=start', + 'doc.cgi?tab=package&topic=perl-ui', + 'doc.cgi?tab=package&topic=advanced', 'doc.cgi?tab=benchs', 'feedback.cgi', |
From: Frederic T. <xf...@us...> - 2006-11-29 19:16:10
|
Update of /cvsroot/compbench/compbenchmarks-web/icons In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv3350 Added Files: downloads.png Log Message: First import. --- NEW FILE: downloads.png --- (This appears to be a binary file; contents omitted.) |
From: Frederic T. <xf...@us...> - 2006-11-29 19:15:49
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv3007 Modified Files: topic.pl Log Message: Better HTML conformance. Obsolete code removed. Index: topic.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/topic.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topic.pl 28 Nov 2006 21:47:55 -0000 1.1 --- topic.pl 29 Nov 2006 19:15:45 -0000 1.2 *************** *** 13,50 **** our $req; - sub topic_start_former { - my $topics = shift; - my $order = shift; - - my $first = 1; - - if (!defined($topic)) { - $topic=$order->[0]; - } - - print "<table class='topic'><tr>"; - print "<td class='topic_active'>Topic : </td>"; - - foreach(@{$order}) { - if ($topic ne $_) { - print "<td class='topic_inactive'>"; - } else { - print "<td class='topic_active'>"; - } - if (! $first) { - print " </td>"; - if ($topic ne $_) { - print "<td class='topic_inactive'>"; - } else { - print "<td class='topic_active'>"; - } - } - print "<a href='?tab=$tab&topic=$_'>$topics->{$_}</a></td></tr>"; - $first=0; - } - print "</table>"; - print "<h2>$topics->{$topic}</h2>"; - } - sub topic_start { my $topics = shift; --- 13,16 ---- *************** *** 57,61 **** } ! print "<table class='topic' width='100%'><tr><td><table><tr>"; foreach(@{$order}) { if ($topic ne $_) { --- 23,27 ---- } ! print "<table class='topic' width='100%' summary='topics'><tr><td><table summary='topic'><tr>"; foreach(@{$order}) { if ($topic ne $_) { |
From: Frederic T. <xf...@us...> - 2006-11-29 19:15:15
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2959 Added Files: news.pl Log Message: First import. --- NEW FILE: news.pl --- # ----------------------------------------------------------------------------- # $Id: news.pl,v 1.1 2006/11/29 19:15:11 xfred Exp $ # # This is free software. # For details, see the GNU Public License in the COPYING file, or # Look http://www.fsf.org # ----------------------------------------------------------------------------- use strict; use XML::XPath; # use XML::XPath::XMLParser; require "persistant.pl"; our $LT_TMP_DIR; our $NEWS_FILE = "sf-news.xml"; sub show_a_news { my $item = shift; my $title = $item->findvalue('title'); # my $description = $item->findvalue('description'); my $pubDate = $item->findvalue('pubDate'); my $date; my %months = ('Jan' => 1, 'Feb' => 2, 'Mar' => 3, 'Apr', => 4, 'May' => 5, 'Jun' => 6, 'Jul' => 7, 'Aug' => 8, 'Sep' => 9, 'Oct' => 10, 'Nov' => 11, 'Dec' => 12); if ($pubDate =~ /.*, (\d+) (.*) (\d+) /) { $date="$3-" . sprintf("%02d", $months{$2}) . "-$1"; } else { $date=$pubDate; } # $description =~ s/\. /.<br>/g; print "<li>$date : $title</li>"; } sub news_display { my $dbh = shift; if (! -f "$LT_TMP_DIR/$NEWS_FILE") { news_import($dbh, 1); } my $xp = XML::XPath->new(filename => "$LT_TMP_DIR/$NEWS_FILE"); my $items = $xp->find('//rss/channel/item'); my $item; foreach $item ($items->get_nodelist) { show_a_news($item); } } sub news_import { my $dbh = shift; my $force = shift; my $i = persistant_get($dbh, "news-import-threshold"); if (!defined($force)) { $force=0; } if (!defined($i)) { $i=1; } if (($i>=96) || ($force)) { my $command = "wget -t1 -q http://sourceforge.net/export/rss2_projnews.php?group_id=150828 -O $LT_TMP_DIR/$NEWS_FILE"; `$command`; if (! $force) { $i=0; } } $i++; persistant_set($dbh, "news-import-threshold", $i); } 1; |
From: Frederic T. <xf...@us...> - 2006-11-29 19:12:01
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv1324 Modified Files: interface.pl Log Message: Better HTML conformance. Downloads menu added. Index: interface.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/interface.pl,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** interface.pl 28 Nov 2006 21:48:42 -0000 1.27 --- interface.pl 29 Nov 2006 19:11:55 -0000 1.28 *************** *** 45,48 **** --- 45,51 ---- ['Feedback', '', 'feedback.png' ], + 'downloads' => + [ 'Downloads', '', + 'downloads.png' ], 'links' => ['Links', '', *************** *** 94,98 **** ); ! my @menus = ('index', 'doc', 'feedback', 'login', 'logout', 'admin', 'browse', 'links'); --- 97,101 ---- ); ! my @menus = ('index', 'doc', 'downloads', 'feedback', 'login', 'logout', 'admin', 'browse', 'links'); *************** *** 199,208 **** print "<td class='pan_8' colspan='" . ($n*4+2) . "'>"; if (defined($topics)) { ! print "<table width='100%'><tr><td>"; topic_start($topics, $topics_order); print "</td></tr></table>"; } print "<td class='pan_4'></td></tr>"; - print "</td></tr>"; print "<tr><td class='pan_3'></td>"; --- 202,210 ---- print "<td class='pan_8' colspan='" . ($n*4+2) . "'>"; if (defined($topics)) { ! print "<table width='100%' summary='topics container'><tr><td>"; topic_start($topics, $topics_order); print "</td></tr></table>"; } print "<td class='pan_4'></td></tr>"; print "<tr><td class='pan_3'></td>"; |
From: Frederic T. <xf...@us...> - 2006-11-29 19:05:53
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31431 Modified Files: doc.cgi Log Message: Better HTML conformance. Link to local downloads area. Index: doc.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/doc.cgi,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** doc.cgi 28 Nov 2006 21:50:28 -0000 1.29 --- doc.cgi 29 Nov 2006 19:05:48 -0000 1.30 *************** *** 131,148 **** <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known benchmarks and applications</a>. It provides a single interface to :</p> <ul> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-download!!!'>download packages and benchmarks</a></li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-compile!!!'>configure and compile</a> them (with arbitrary C/C++ compilers and optimisation options)</li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-eval!!!'>evaluate them</a>, and store results in a common format. Results can also be imported in <a href='/cgi-bin/browse.cgi'>official database</a>.</li> </ul>"; print "<h3>Architecture</h3> <table cellpadding='5'><tr><td valign='top'> <img src='$LT_WEB_ICONS/compbenchmarks-arch.png' alt='Architecture overview'> ! </td><p><td valign='top'><i>compbenchmarks</i> is splited in three functionnal blocks (since 0.3.3) : normal users should start take a look at <a href='#arch-ui'>high-level user interfaces</a>. For more in-depth management, the <a href='#arch-core'>compbenchmark-core</a> program is adviced. Finaly, the libcompbenchmarks shared library and related API can be used to implement new benchmark/package support.</p> <p>Each supported benchmark is handled through a specific, independant, shared library.</p> </td></tr></table>"; print "<a name='arch-ui'><h3>High-level user interfaces</h3></a> ! <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; print "<a name='arch-core'><h3>compbenchmarks-core program</h3></a> ! <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by user interfaces)</p>"; print "<a name='arch-lib'><h3>libcompbenchmarks</h3></a> <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic frameworks to install and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; --- 131,148 ---- <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known benchmarks and applications</a>. It provides a single interface to :</p> <ul> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-download!!!'>download packages and benchmarks</a></li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-compile!!!'>configure and compile</a> them (with arbitrary C/C++ compilers and optimisation options)</li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-eval!!!'>evaluate them</a>, and store results in a common format. Results can also be imported in <a href='/cgi-bin/browse.cgi'>official database</a>.</li> </ul>"; print "<h3>Architecture</h3> <table cellpadding='5'><tr><td valign='top'> <img src='$LT_WEB_ICONS/compbenchmarks-arch.png' alt='Architecture overview'> ! </td><p><td valign='top'><i>compbenchmarks</i> is splited in three functionnal blocks (since 0.3.3) : normal users should start take a look at <a href='#arch-ui'>high-level user interfaces</a>. For more in-depth management, the <a href='#arch-core'>compbenchmark-core</a> program is adviced. Finaly, the <a href='#arch-lib'>libcompbenchmarks</a> shared library and related API can be used to implement new benchmark/package support.</p> <p>Each supported benchmark is handled through a specific, independant, shared library.</p> </td></tr></table>"; print "<a name='arch-ui'><h3>High-level user interfaces</h3></a> ! <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; print "<a name='arch-core'><h3>compbenchmarks-core program</h3></a> ! <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by user interfaces)</p>"; print "<a name='arch-lib'><h3>libcompbenchmarks</h3></a> <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic frameworks to install and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; *************** *** 165,168 **** --- 165,170 ---- See project's <a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>download area</a> on <a href='http://sourceforge.net'>SourceForge</a>. </p> + <p>A page also presents a <a href='/cgi-bin/downloads.cgi'>summary of available downloads</a>. + </p> <h3>Installation</h3> <p> *************** *** 245,255 **** } if ($topic eq 'advanced') { ! print "<p>When embedded <i>compbenchmarks</i>' <a href='/cgi-bin/doc.cgi?tab=package&topic=arch#arch-ui'>user interfaces</a> are not suffiscient, the program <i>compbenchmarks-core</i> may be found useful.</p> <h3>Installing a package/benchmark from a local file</h3> ! <p>When a package is not accessible anymore on the Internet (e.g; through the <a href=/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>download/install menu</a> of <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>), it can be fetched from a local file :</p> <code> \$ compbenchmarks-core --fetch benchpp-whetstone bench++.tar.gz </code> - </p> <h3>Running a benchmark</h3> <p>You can also configure and run an installed package directly, like this : --- 247,256 ---- } if ($topic eq 'advanced') { ! print "<p>When embedded <i>compbenchmarks</i>' <a href='/cgi-bin/doc.cgi?tab=package&topic=arch#arch-ui'>user interfaces</a> are not suffiscient, the program <i>compbenchmarks-core</i> may be found useful.</p> <h3>Installing a package/benchmark from a local file</h3> ! <p>When a package is not accessible anymore on the Internet (e.g; through the <a href=/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>download/install menu</a> of <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>), it can be fetched from a local file :</p> <code> \$ compbenchmarks-core --fetch benchpp-whetstone bench++.tar.gz </code> <h3>Running a benchmark</h3> <p>You can also configure and run an installed package directly, like this : |
From: Frederic T. <xf...@us...> - 2006-11-28 21:50:32
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25363 Modified Files: doc.cgi Log Message: Topics' usage. Rewritted package's documentation. Index: doc.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/doc.cgi,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** doc.cgi 28 Nov 2006 17:18:39 -0000 1.28 --- doc.cgi 28 Nov 2006 21:50:28 -0000 1.29 *************** *** 6,12 **** --- 6,15 ---- push(@INC, "../lib"); require "html.pl"; + require "topic.pl"; + our $dbh; our $req; our $tab; + our $topic; our $LT_GCC_BENCH_PACKAGE; *************** *** 91,95 **** my $comp2 = "<a href='http://www.research.att.com/~orost/bench_plus_plus.html'>Bench++</a>"; ! html_init('doc'); $req->delete_all(); --- 94,106 ---- my $comp2 = "<a href='http://www.research.att.com/~orost/bench_plus_plus.html'>Bench++</a>"; ! html_init('doc', undef, ! { 'package' => [ ! { 'arch' => 'Architecture', ! 'start' => 'Installation', ! 'perl-ui' => 'Dialog-based UI', ! 'advanced' => 'Advanced usage' }, ! [ 'arch', 'start', 'perl-ui', 'advanced' ] ] ! }); ! $req->delete_all(); *************** *** 116,128 **** print "</td></tr></table>"; } elsif ($tab eq 'package') { ! print "<h2>Presentation</h2> ! <p> ! A simple benchmarks' suite, the <i>compbenchmarks</i> package, has been developped to integrate some of the <a href='/cgi-bin/doc.cgi?tab=benchs'>well-known benchmarks and applications</a>, providing a simple interface to <a href='#usage-download'>download</a>, <a href='#usage-compile'>compile</a> and <a href='#usage-eval'>evaluate</a> generated binaries more conveniently, according to customizable parameters. ! </p> ! <p>Results use a common format that can be easily interpreted by third party applications. Results can be imported in the <a href='http://www.mysql.org'>MySQL</a> database underlaying this website. ! </p>"; ! html_tip("For a more detailled information concerning technical aspects and implementation, see <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>SourceForge project's documentation download page</a>."); ! print "<h2>Requierements</h2> <ul> <li>A C++ Compiler or/and a C compiler (like g++ and gcc from <a href='http://gcc.gnu.org'>GCC</a>), make</li> --- 127,157 ---- print "</td></tr></table>"; } elsif ($tab eq 'package') { ! if ($topic eq 'arch') { ! print "<p><i>compbenchmarks</i> package proposes a framework to handle ! <a href='/cgi-bin/doc.cgi?tab=benchs'>some well-known benchmarks and applications</a>. It provides a single interface to :</p> ! <ul> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-download!!!'>download packages and benchmarks</a></li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-compile!!!'>configure and compile</a> them (with arbitrary C/C++ compilers and optimisation options)</li> ! <li><a href='/cgi-bin/doc.cgi?tab=package&topic=start#usage-eval!!!'>evaluate them</a>, and store results in a common format. Results can also be imported in <a href='/cgi-bin/browse.cgi'>official database</a>.</li> ! </ul>"; ! print "<h3>Architecture</h3> ! <table cellpadding='5'><tr><td valign='top'> ! <img src='$LT_WEB_ICONS/compbenchmarks-arch.png' alt='Architecture overview'> ! </td><p><td valign='top'><i>compbenchmarks</i> is splited in three functionnal blocks (since 0.3.3) : normal users should start take a look at <a href='#arch-ui'>high-level user interfaces</a>. For more in-depth management, the <a href='#arch-core'>compbenchmark-core</a> program is adviced. Finaly, the libcompbenchmarks shared library and related API can be used to implement new benchmark/package support.</p> ! <p>Each supported benchmark is handled through a specific, independant, shared library.</p> ! </td></tr></table>"; ! print "<a name='arch-ui'><h3>High-level user interfaces</h3></a> ! <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; ! print "<a name='arch-core'><h3>compbenchmarks-core program</h3></a> ! <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by user interfaces)</p>"; ! print "<a name='arch-lib'><h3>libcompbenchmarks</h3></a> ! <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic frameworks to install and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; ! html_tip("The <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>technical documention</a> presents all concepts, as well as API."); ! ! } ! ! if ($topic eq 'start') { ! print "<h3>Requierements</h3> <ul> <li>A C++ Compiler or/and a C compiler (like g++ and gcc from <a href='http://gcc.gnu.org'>GCC</a>), make</li> *************** *** 132,140 **** <p>For now, CompilerBenchmarks' suite just supports tcc, gcc and g++ compilers on Linux and Cygwin. Any help improving that is welcome. It has only been tested on i686 and compatible systems. </p> ! <h2>Download</h2> <p> See project's <a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>download area</a> on <a href='http://sourceforge.net'>SourceForge</a>. </p> ! <h2>Installation</h2> <p> compbenchmarks is providen as a GNU gzipped-tarball package. Traditionnal installation process is used : --- 161,169 ---- <p>For now, CompilerBenchmarks' suite just supports tcc, gcc and g++ compilers on Linux and Cygwin. Any help improving that is welcome. It has only been tested on i686 and compatible systems. </p> ! <h3>Download</h3> <p> See project's <a href='http://sourceforge.net/project/showfiles.php?group_id=150828'>download area</a> on <a href='http://sourceforge.net'>SourceForge</a>. </p> ! <h3>Installation</h3> <p> compbenchmarks is providen as a GNU gzipped-tarball package. Traditionnal installation process is used : *************** *** 146,155 **** <li>make</li> </ul> ! <p>Optionnaly, you may want to install it on your system to make it accessible to all users :</p> <ul> <li>make install</li> ! </ul> ! <a name='usage'></a><h2>Usage</h2> ! <p>For a quick start, you may run :</p> <ul> <li>./compbenchmarks-ui-perl , it'll detect your C compilers and create basic configurations files</li> --- 175,188 ---- <li>make</li> </ul> ! <p>Optionaly, you may want to install it on your system to make it accessible to all users :</p> <ul> <li>make install</li> ! </ul>"; ! } ! ! if ($topic eq 'perl-ui') { ! print "<p>compbenchmarks-ui-perl is a front-end to <i>compbenchmarks</i>. It is written in perl and uses dialog. Most of typical operations can be done with it.</p>"; ! print "<h3>Configuration</h3>"; ! print "<p>For a quick start, you may run :</p> <ul> <li>./compbenchmarks-ui-perl , it'll detect your C compilers and create basic configurations files</li> *************** *** 157,161 **** <li>In ~/.compbenchmarks/Configuration, take a look at default-C-compilers and default-C-compilers-options</li> </ul> ! <a name='usage-download'></a><h3>Package installation</h3> <p> Run ./compbenchmarks-ui-perl and choose 'Manage package'. Select supported packages/benchmarks you want to install, and choose 'OK' : --- 190,195 ---- <li>In ~/.compbenchmarks/Configuration, take a look at default-C-compilers and default-C-compilers-options</li> </ul> ! <p>Following shows a typical step-by-step usage.</p> ! <a name='usage-download'></a><h3>Packages' installation</h3> <p> Run ./compbenchmarks-ui-perl and choose 'Manage package'. Select supported packages/benchmarks you want to install, and choose 'OK' : *************** *** 210,213 **** --- 244,271 ---- "; } + if ($topic eq 'advanced') { + print "<p>When embedded <i>compbenchmarks</i>' <a href='/cgi-bin/doc.cgi?tab=package&topic=arch#arch-ui'>user interfaces</a> are not suffiscient, the program <i>compbenchmarks-core</i> may be found useful.</p> + <h3>Installing a package/benchmark from a local file</h3> + <p>When a package is not accessible anymore on the Internet (e.g; through the <a href=/cgi-bin/doc.cgi?tab=package&topic=perl-ui#usage-download'>download/install menu</a> of <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>), it can be fetched from a local file :</p> + <code> + \$ compbenchmarks-core --fetch benchpp-whetstone bench++.tar.gz + </code> + </p> + <h3>Running a benchmark</h3> + <p>You can also configure and run an installed package directly, like this : + </p> + <code> + \$ compbenchmarks-core --bench benchpp-whetstone /usr/local/bin/g++ '-O3 -Wall' + </code> + <p>Result will be the last line of stdout.</p> + "; + html_tip("For every benchmark, the higher is the result, the better is the effisciency."); + print "<p>This simple command can be issued by a wrapper script of your choice to run specific benchmarks or for using a options/compilers attribution mechanism that differs from the one applied in user interfaces.</p> + <h3>Further reading</h3> + <code> + \$ man compbenchmarks-core # :p + </code>"; + } + } html_end(); |
From: Frederic T. <xf...@us...> - 2006-11-28 21:50:02
|
Update of /cvsroot/compbench/compbenchmarks-web/icons In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24954 Added Files: compbenchmarks-arch.png Log Message: First import. --- NEW FILE: compbenchmarks-arch.png --- (This appears to be a binary file; contents omitted.) |
From: Frederic T. <xf...@us...> - 2006-11-28 21:49:37
|
Update of /cvsroot/compbench/compbenchmarks-web/styles/css In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24926 Modified Files: lt.css Log Message: 'Topic' handling (sub-tabs like). Index: lt.css =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/styles/css/lt.css,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** lt.css 14 Sep 2006 17:38:03 -0000 1.8 --- lt.css 28 Nov 2006 21:49:34 -0000 1.9 *************** *** 18,21 **** --- 18,42 ---- } + td.topic_active { + font-size: 8pt; + text-align: left; + padding-right: 5px; + } + + td.topic_inactive { + font-size: 8pt; + text-align: left; + padding-right: 5px; + } + + table.topic { + border-bottom: 2px solid #000000; + font-size: 10pt; + padding: 0.0em; + border-spacing: 0.0; + background-color: #FFFFFF; + color: #000000; + } + ul { list-style: square outside; |
From: Frederic T. <xf...@us...> - 2006-11-28 21:49:20
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24900 Modified Files: html.pl Log Message: 'Topic' handling (sub-tabs like). Index: html.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/html.pl,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** html.pl 26 Sep 2006 20:26:14 -0000 1.13 --- html.pl 28 Nov 2006 21:49:16 -0000 1.14 *************** *** 21,26 **** sub html_init { ! my $script = shift; ! my $try_log = shift; my $result; --- 21,28 ---- sub html_init { ! my $script = shift; ! my $try_log = shift; ! my $tab_topics = shift; ! my $result; *************** *** 65,69 **** sys_env_init($dbh); ! iface_start($script); if (!defined($result)) { --- 67,76 ---- sys_env_init($dbh); ! ! if (!defined($tab_topics)) { ! $tab_topics=undef; ! } ! ! iface_start($script, $tab_topics); if (!defined($result)) { |
From: Frederic T. <xf...@us...> - 2006-11-28 21:48:52
|
Update of /cvsroot/compbench/compbenchmarks-web/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24530 Modified Files: interface.pl Log Message: 'Topic' handling (sub-tabs like). Index: interface.pl =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/lib/interface.pl,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** interface.pl 10 Oct 2006 17:20:16 -0000 1.26 --- interface.pl 28 Nov 2006 21:48:42 -0000 1.27 *************** *** 22,25 **** --- 22,26 ---- our $tab; our $dbh; + our $topic; our $CVS_DATE; *************** *** 64,68 **** 'doc' => { 'tabs' => { 'motivations' => 'Motivations', ! 'package' => 'Benchmark package', 'benchs' => 'Supported benchmarks' }, 'tabs-order' => [ 'motivations', --- 65,69 ---- 'doc' => { 'tabs' => { 'motivations' => 'Motivations', ! 'package' => "compbenchmarks' documentation", 'benchs' => 'Supported benchmarks' }, 'tabs-order' => [ 'motivations', *************** *** 135,139 **** sub iface_tabs_start { ! my $menu = shift; my @tabs; --- 136,142 ---- sub iface_tabs_start { ! my $menu = shift; ! my $topics = shift; ! my $topics_order = shift; my @tabs; *************** *** 195,203 **** --- 198,218 ---- print "<tr><td class='pan_3'></td>"; print "<td class='pan_8' colspan='" . ($n*4+2) . "'>"; + if (defined($topics)) { + print "<table width='100%'><tr><td>"; + topic_start($topics, $topics_order); + print "</td></tr></table>"; + } + print "<td class='pan_4'></td></tr>"; + print "</td></tr>"; + print "<tr><td class='pan_3'></td>"; + print "<td class='pan_8' colspan='" . ($n*4+2) . "'>"; print "<table summary='menu'><tr><td class='tab_contain'>"; print "<h1>${$menus{$menu}}[0]::"; print ${$tabs{$menu}->{tabs}}{$tab}; print "</h1>"; + if (defined($topics_order)) { + print "<h2>$topics->{$topic}</h2>"; + } } *************** *** 226,230 **** sub iface_start { ! my $menu = shift; my $r_acl; --- 241,249 ---- sub iface_start { ! my $menu = shift; ! my $tab_topics = shift; ! ! my $topics; ! my $topics_order; my $r_acl; *************** *** 233,236 **** --- 252,256 ---- print "<tr><td valign='top' class='iface_menu'>"; + $topic=$req->param('topic'); $tab=$req->param('tab'); if (!defined($tab)) { *************** *** 238,241 **** --- 258,269 ---- } + if (!defined($tab_topics)) { + $topics=undef; + $topics_order=undef; + } else { + $topics=${$tab_topics->{$tab}}[0]; + $topics_order=${$tab_topics->{$tab}}[1]; + } + print "<table summary='menus part'>"; foreach(@menus) { *************** *** 281,285 **** print "</table>"; print "</td><td valign='top'>"; ! iface_tabs_start($menu); } --- 309,313 ---- print "</table>"; print "</td><td valign='top'>"; ! iface_tabs_start($menu, $topics, $topics_order); } |