Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GRASLAND Hadrien
Fast5x5
Commits
d4f736a7
Commit
d4f736a7
authored
Apr 20, 2018
by
GRASLAND Hadrien
Browse files
Make the output more readable
parent
7b7f8020
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
benchmark/benchmark.sh
benchmark/benchmark.sh
+3
-3
measure_perf.sh
measure_perf.sh
+2
-2
No files found.
benchmark/benchmark.sh
View file @
d4f736a7
...
...
@@ -19,7 +19,7 @@ for size in $(seq 3 8); do
# stdout and stderr first.
/usr/bin/time
-f
"%U, "
./a.out 3>&1 1>&2 2>&3 3>&-
\
|
tr
-d
'\n'
|
tee
-a
${
FILE
}
_simple.res
\
&&
echo
&&
echo
-ne
"
\n\n\n
"
done
echo
>>
${
FILE
}
_simple.res
...
...
@@ -29,7 +29,7 @@ for size in $(seq 3 8); do
# Same as above, only targeting a different file
/usr/bin/time
-f
"%U, "
./a.out 3>&1 1>&2 2>&3 3>&-
\
|
tr
-d
'\n'
|
tee
-a
${
FILE
}
_eigen.res
\
&&
echo
&&
echo
-ne
"
\n\n\n
"
done
echo
>>
${
FILE
}
_eigen.res
...
...
@@ -39,7 +39,7 @@ for size in $(seq 3 8); do
# Same as above, only targeting a different file
/usr/bin/time
-f
"%U, "
./a.out 3>&1 1>&2 2>&3 3>&-
\
|
tr
-d
'\n'
|
tee
-a
${
FILE
}
_custom.res
\
&&
echo
&&
echo
-ne
"
\n\n\n
"
done
echo
>>
${
FILE
}
_custom.res
...
...
measure_perf.sh
View file @
d4f736a7
...
...
@@ -15,7 +15,7 @@ for size in $(seq 3 8); do
# stdout and stderr first.
/usr/bin/time
-f
"%U, "
./a.out 3>&1 1>&2 2>&3 3>&-
\
|
tr
-d
'\n'
|
tee
-a
custom_
${
FILE
}
\
&&
echo
&&
echo
-ne
"
\n\n\n
"
done
echo
>>
custom_
${
FILE
}
...
...
@@ -24,7 +24,7 @@ for size in $(seq 3 8); do
# Same as above, only targeting a different file
/usr/bin/time
-f
"%U, "
./a.out 3>&1 1>&2 2>&3 3>&-
\
|
tr
-d
'\n'
|
tee
-a
eigen_
${
FILE
}
\
&&
echo
&&
echo
-ne
"
\n\n\n
"
done
echo
>>
eigen_
${
FILE
}
done
Write
Preview
Markdown
is supported
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