]> matita.cs.unibo.it Git - helm.git/commitdiff
fix
authorEnrico Tassi <enrico.tassi@inria.fr>
Wed, 21 Dec 2005 15:28:47 +0000 (15:28 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Wed, 21 Dec 2005 15:28:47 +0000 (15:28 +0000)
helm/matita/scripts/public_html/bench.php

index 2fef2303f96fa093836f376acbc6c323731373b3..42e004f9e7aa56e2bfc80924f6648930d7f70286 100644 (file)
@@ -7,9 +7,6 @@
 //
 $limits = array("30","50","-1");
   
-print_r($limits);
-foreach($limits as $x){ echo $x; }
-
 $quey_all = urlencode("Whole content:@@@select * from bench");
 $query_fail = urlencode(
   "Number of failures:@@@" .
@@ -55,7 +52,7 @@ function minus1_to_all($s){
     return $s;
 }
 
-function links_of($name,$q){
+function links_of($name,$q,$limits){
   echo "<li>$name";
   foreach($limits as $l) {
     echo "<a href=\"showquery.php?query=$q LIMIT 0,$l; \">" . 
@@ -75,13 +72,13 @@ function links_of($name,$q){
     <h2>Common Queries</h2>
     <p>
       <ul>
-      <? links_of("Broken tests",$query_fail) ?>
-      <? links_of("Garbage collector killer",$query_gc) ?>
-      <? links_of("Auto performances",$query_auto) ?>
-      <? links_of("Global performances (bytecode)",$query_csc) ?>
-      <? links_of("Global performances (nativecode)",$query_csc_opt) ?>
-      <? links_of("Number of compiled tests",$query_total) ?>
-      <? links_of("All table contents",$quey_all) ?>
+      <? links_of("Broken tests",$query_fail,$limits) ?>
+      <? links_of("Garbage collector killer",$query_gc,$limits) ?>
+      <? links_of("Auto performances",$query_auto,$limits) ?>
+      <? links_of("Global performances (bytecode)",$query_csc,$limits) ?>
+      <? links_of("Global performances (nativecode)",$query_csc_opt,$limits) ?>
+      <? links_of("Number of compiled tests",$query_total,$limits) ?>
+      <? links_of("All table contents",$quey_all,$limits) ?>
       </ul>
     </p>
     <h2>Custom Query</h2>