blob: 788cce95a53734027d27d1950fd01b0dbe8ff721 [file] [log] [blame]
#!/bin/sh
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html#License
#
# Copyright (C) 2008, International Business Machines Corporation and others.
# All Rights Reserved.
# export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw
# Echo shell script commands.
set -ex
PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf
for file in udhr_eng.txt \
udhr_deu.txt \
udhr_fra.txt \
udhr_rus.txt \
udhr_tha.txt \
udhr_jpn.txt \
udhr_cmn.txt \
udhr_jpn.html; do
$PERF CheckFCD -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
# $PERF CheckFCDAlwaysGet -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
# $PERF CheckFCDUTF8 -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
$PERF ToNFC -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
$PERF GetBiDiClass -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
done