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
Olena
olena
Commits
091e1bec
Commit
091e1bec
authored
Jan 11, 2011
by
Roland Levillain
Browse files
apps/bench: Aesthetic changes in the output of list2table.
* apps/bench/list2table: Here.
parent
55fd2b0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
milena/ChangeLog
View file @
091e1bec
2011-01-11 Roland Levillain <roland@lrde.epita.fr>
apps/bench: Aesthetic changes in the output of list2table.
* apps/bench/list2table: Here.
2011-01-11 Roland Levillain <roland@lrde.epita.fr>
apps/bench: New (postprocessing) script: list2table.
milena/apps/bench/list2table
View file @
091e1bec
...
...
@@ -2,6 +2,9 @@
set
-e
# Do not use locales.
export
LC_ALL
=
C
# Like read, but ignores empty values.
readval
()
{
...
...
@@ -14,7 +17,7 @@ for i in a1 b1 c1 d1 e1 \
a2 b2 c2 d2 e2
\
a3 b3 c3 d3 e3
;
\
do
eval
$i
=
$(
readval
)
eval
$i
=
$(
printf
"%.2f"
$(
readval
)
)
done
cat
<<
EOF
...
...
@@ -24,7 +27,7 @@ cat <<EOF
\c
entering
\b
egin{tabular}{lrrr}
\h
line
Implementation &
\m
ulticolumn{3}{c}{
Execution times (s
)}
\\\\
Implementation &
\m
ulticolumn{3}{c}{
Time (s) per image (px
)}
\\\\
&
\$
512^2
\$
&
\$
1024^2
\$
&
\$
2048^2
\$
\\\\
\h
line
\h
line
...
...
@@ -34,9 +37,9 @@ cat <<EOF
\h
line
Generic (
\a
lgref{lst:gen-dilation}) &
$c1
&
$c2
&
$c3
\\\\
\h
line
Fast, part
ial
ly generic (
\a
lgref{lst:fast-dilation}) &
$d1
&
$d2
&
$d3
\\\\
Fast, partly generic (
\a
lgref{lst:fast-dilation}) &
$d1
&
$d2
&
$d3
\\\\
\h
line
Fast, part
ial
ly generic with &
$e1
&
$e2
&
$e3
\\\\
Fast, partly generic with &
$e1
&
$e2
&
$e3
\\\\
static window (
\a
lgref{lst:fast-static-dilation}) & & &
\\\\
\h
line
\e
nd{tabular}
...
...
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