1#!/bin/sh
2# Copyright (c) 2007, International Business Machines Corporation and
3# others. All Rights Reserved.
4
5# Echo shell script commands.
6set -ex
7
8PERF=test/perf/unisetperf/unisetperf
9# slow Bv Bv0 B0
10# --pattern [:White_Space:]
11
12for 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 Bv Bv0; do
21    $PERF SpanUTF16 --type $type -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 10000
22  done
23done
24