1 #!/bin/sh 2 # Copyright (C) 2016 and later: Unicode, Inc. and others. 3 # License & terms of use: http://www.unicode.org/copyright.html#License 4 # 5 # Copyright (c) 2007, International Business Machines Corporation and 6 # others. All Rights Reserved. 7 8 # Echo shell script commands. 9 set -ex 10 11 PERF=test/perf/unisetperf/unisetperf 12 # slow Bv Bv0 B0 13 # --pattern [:White_Space:] 14 15 for file in udhr_eng.txt \ 16 udhr_deu.txt \ 17 udhr_fra.txt \ 18 udhr_rus.txt \ 19 udhr_tha.txt \ 20 udhr_jpn.txt \ 21 udhr_cmn.txt \ 22 udhr_jpn.html; do 23 for type in slow Bv Bv0; do 24 $PERF SpanUTF16 --type $type -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 10000 25 done 26 done 27