]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/perf/unisetperf/draft/span8perf.sh
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / test / perf / unisetperf / draft / span8perf.sh
1 #!/bin/sh
2 # Copyright (c) 2007, International Business Machines Corporation and
3 # others. All Rights Reserved.
4
5 # Echo shell script commands.
6 set -ex
7
8 PERF=test/perf/unisetperf/unisetperf
9 # slow Bh bh Bv Bv0 B0 BvF Bvp BvpF L Bvl BvL
10 # --pattern [:White_Space:]
11
12 for file in udhr_eng.txt \
13 udhr_deu.txt \
14 udhr_fra.txt \
15 udhr_rus.txt \
16 udhr_tha.txt \
17 udhr_jpn.txt \
18 udhr_cmn.txt \
19 udhr_jpn.html; do
20 for type in slow BvF BvpF Bvl BvL; do
21 $PERF SpanUTF8 --type $type -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 10000
22 done
23 done