• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
9set -ex
10
11PERF=test/perf/unisetperf/unisetperf
12# slow Bh bh Bv Bv0 B0 BvF Bvp BvpF L Bvl BvL
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 BvF BvpF Bvl BvL; do
24    $PERF SpanUTF8  --type $type -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 10000
25  done
26done
27