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) 2008, International Business Machines Corporation and others. 6# All Rights Reserved. 7 8# export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw 9 10# Echo shell script commands. 11set -ex 12 13PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf 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 $PERF CheckFCD -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 24# $PERF CheckFCDAlwaysGet -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 25# $PERF CheckFCDUTF8 -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 26 $PERF ToNFC -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 27 $PERF GetBiDiClass -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 28done 29