projects
/
bluesky.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make the log benchmark configurable and make a parameter sweep script.
[bluesky.git]
/
logbench
/
runbench.sh
1
#!/bin/bash
2
3
do_run() {
4
LOGDIR=$(mktemp -d ./logdir.XXXXXXXX)
5
sync; sleep 0.5
6
echo Running: "$@"
7
(cd "$LOGDIR"; time ../logbench "$@")
8
rm -rf "$LOGDIR"
9
}
10
11
for s in 256 1024 4096 16384 65536; do
12
#do_run -B -s $s
13
true
14
done
15
16
for b in 1 2 4 8 16 32; do
17
for s in 4096; do
18
do_run -B -s $s -b $b
19
do_run -F -s $s -b $b
20
do_run -D -s $s -b $b
21
done
22
done