]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/perf/unisetperf/draft/span16perf.sh
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / test / perf / unisetperf / draft / span16perf.sh
CommitLineData
46f4442e 1#!/bin/sh
f3c0d7a5
A
2# Copyright (C) 2016 and later: Unicode, Inc. and others.
3# License & terms of use: http://www.unicode.org/copyright.html#License
4#
46f4442e
A
5# Copyright (c) 2007, International Business Machines Corporation and
6# others. All Rights Reserved.
7
8# Echo shell script commands.
9set -ex
10
11PERF=test/perf/unisetperf/unisetperf
12# slow Bv Bv0 B0
13# --pattern [:White_Space:]
14
15for 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
26done