tools to measure the time taken by a set of commands
This commit is contained in:
parent
9f33bfd50f
commit
3159e18512
2 changed files with 13 additions and 0 deletions
5
repeat.sh
Executable file
5
repeat.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
max=$1; shift;
|
||||
for ((i=1; i <= max ; i++)); do # --> C-like syntax
|
||||
eval "$@" &>/dev/null;
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue