nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864ad2f
)
bench_common: add a documentation and a default value to `count`
author
Jean Privat
<jean@pryen.org>
Wed, 23 Mar 2016 20:23:22 +0000
(16:23 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 23 Mar 2016 20:28:52 +0000
(16:28 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
benchmarks/bench_common.sh
patch
|
blob
|
history
diff --git
a/benchmarks/bench_common.sh
b/benchmarks/bench_common.sh
index
1efac25
..
32055bd
100644
(file)
--- a/
benchmarks/bench_common.sh
+++ b/
benchmarks/bench_common.sh
@@
-13,6
+13,11
@@
# See the License for the specific language governing permissions and
# limitations under the License.
+# Global variables
+
+# Number of times a command must be run with bench_command
+count=1
+
# Common functions for all the bench scripts
# Run a single command multiple time and store the execution times