Skip to content

Commit 25f7fb6

Browse files
committed
bench: don't execute the program so many times.
1 parent d056da1 commit 25f7fb6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

benches/bench.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
PROG=$1
44
ROOTDIR=$(git rev-parse --show-toplevel)
55

6-
for lang in ar az be ca cs de en eo es es-ni fa fi fr hi hu id it ja ko mk nl no-nb pl pt-br ro ru sr th tr uk vi zh zh-tw; do \
7-
cat $ROOTDIR/vendor/progit/$lang/*/*.markdown | $PROG > /dev/null
8-
done
6+
cat $ROOTDIR/vendor/progit/*/*/*.markdown | $PROG > /dev/null

0 commit comments

Comments
 (0)