Test NOALYSS"; /* * cherche pour fichier a include, s'il y en a alors les affiche * avec une description */ echo '
'; echo ''; echo "Tous "; echo ''; echo ' | '; echo 'Tous les scripts | '; echo '|
'; echo $e; echo ' | '; echo ''; echo ''; echo $scenario[$e]['file']; echo ''; echo ' | '; echo ''.$scenario[$e]['desc'].' | '; echo '
start mem : ".$start_mem; echo '
'; echo "end mem : ".$end_mem; echo '
'; echo "Diff = ".($end_mem-$start_mem)." bytes "; echo "
Diff = ".(round(($end_mem-$start_mem)/1024, 2))." kbytes "; echo "
Diff = ".(round(($end_mem-$start_mem)/1024/1024, 2))." Mbytes "; echo '
'; echo "Execution script ".$script." time = ".(round(($end_time-$start_time), 4))." secondes
"; $nb++; if ( $nb == $maxscan ) { echo "Dernier test"; } else { $get='test.php?'.http_build_query(array('script'=>"all", 'gDossier'=>$gDossierLogInput, 'nb_script'=>$nb)); echo ''; echo $scenario[$nb]['file']; } } else { $start_mem=memory_get_usage(); $start_time=microtime(true); $script=str_replace('../', '', $script); $description=HtmlInput::default_value_get("description", "aucune description"); echo 'description = '.$description.'
'; include '../scenario/'.$script; $end_mem=memory_get_usage(); $end_time=microtime(true); echo "
start mem : ".$start_mem; echo '
'; echo "end mem : ".$end_mem; echo '
'; echo "Diff = ".($end_mem-$start_mem)." bytes "; echo "
Diff = ".(round(($end_mem-$start_mem)/1024, 2))." kbytes "; echo "
Diff = ".(round(($end_mem-$start_mem)/1024/1024, 2))." Mbytes "; echo '
'; echo "Execution script ".$script." time = ".(round(($end_time-$start_time), 4))." secondes
"; }