forked from ungleich-public/cdist
++logs +beginning of benchmark
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
41099a3596
commit
9b3a95e244
3 changed files with 55 additions and 0 deletions
12
doc/dev/benchmark-parallel-deploy
Executable file
12
doc/dev/benchmark-parallel-deploy
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
outfile="$1"; shift
|
||||
|
||||
(
|
||||
for host in "$@"; do
|
||||
hosts="$hosts $host"
|
||||
cdist config -c ~/p/cdist-nutzung -p $hosts
|
||||
done
|
||||
) | tee "$outfile"
|
||||
echo "----------"
|
||||
grep 'INFO: Total processing time for' "$outfile" | sed 's/.*: //'
|
||||
Loading…
Add table
Add a link
Reference in a new issue