Home | History | Annotate | Download | only in utrie2perf
      1 #!/bin/sh
      2 # Copyright (C) 2008, International Business Machines Corporation and others.
      3 # All Rights Reserved.
      4 
      5 # export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw
      6 
      7 # Echo shell script commands.
      8 set -ex
      9 
     10 PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf
     11 
     12 for 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   $PERF CheckFCD            -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
     21 # $PERF CheckFCDAlwaysGet   -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
     22 # $PERF CheckFCDUTF8        -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
     23   $PERF ToNFC               -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
     24   $PERF GetBiDiClass        -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
     25 done
     26