Skip to content
Snippets Groups Projects
Commit 535fd823 authored by Yasin Aydogdu's avatar Yasin Aydogdu
Browse files

ajout test sh

parent f39cd640
Branches
No related merge requests found
#!/bin/bash
NTESTS=10
TAILLES="1000 10000 100000"
echo -e "taille\titest\texectime\trealtime\summary"
for taille in $TAILLES
do
for itest in 'seq 1 $NTESTS'
do
RES="$taille\t$test\t"
RES="$RES"( /usr/bin/time -f "%U\t%e\t%M" ./recherche $taille >/dev/null ) 2>&1
echo -e $RES
done
done
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment