Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
WayeKids
w4b
Commits
0dc07b51
Commit
0dc07b51
authored
Mar 27, 2017
by
ARDUIN PAUL
Browse files
ajout du test Hash
parent
f290f6f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
ProjetW4b/ProjetW4b/testHash.sh
0 → 100644
View file @
0dc07b51
#!/bin/bash
TAILLE_TAB
=
'10000 100000 1000000 10000000'
NB_TESTS
=
5
echo
-e
"taille
\t
test
\t
exectime
\t
mem"
for
tab
in
$TAILLE_TAB
do
RES
=
""
for
tests
in
`
seq
1
$NB_TESTS
`
do
RES
=
"
$tab
\t
$tests
"
RES
=
"
$RES
`
(
/usr/bin/time
-f
"%U
\t
%M"
mono progHash.exe 1
$tab
>
/dev/null
)
2>&1
`
"
echo
-e
"
$RES
"
done
done
ProjetW4b/ProjetW4b/testList.sh
View file @
0dc07b51
#!/bin/bash
TAILLE_
TAB
=
"10000 100000 1000000 10000000"
TAILLE_
LIST
=
"10000 100000 1000000 10000000"
NB_TESTS
=
5
echo
-e
"taille
\t
test
\t
exectime
\t
mem"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment